cvs: php-src /pear/scripts pearcmd.php
| From: | Greg Beaver | Date: | Sun, 06 Jun 2004 15:52:41 +0000 |
| Subject: | cvs: php-src /pear/scripts pearcmd.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-370@lists.php.net to get a copy of this message | ||
cellog Sun Jun 6 11:52:41 2004 EDT
Modified files:
/php-src/pear/scripts pearcmd.php
Log:
add missing $tmp to PEAR::isError()
http://cvs.php.net/diff.php/php-src/pear/scripts/pearcmd.php?r1=1.11&r2=1.12&ty=u
Index: php-src/pear/scripts/pearcmd.php
diff -u php-src/pear/scripts/pearcmd.php:1.11 php-src/pear/scripts/pearcmd.php:1.12
--- php-src/pear/scripts/pearcmd.php:1.11 Sun Jun 6 11:04:16 2004
+++ php-src/pear/scripts/pearcmd.php Sun Jun 6 11:52:41 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: pearcmd.php,v 1.11 2004/06/06 15:04:16 cellog Exp $
+// $Id: pearcmd.php,v 1.12 2004/06/06 15:52:41 cellog Exp $
ob_end_clean();
/**
@@ -168,7 +168,7 @@
} else {
$tmp = Console_Getopt::getopt($options[1], $short_args, $long_args);
}
- if (PEAR::isError()) {
+ if (PEAR::isError($tmp)) {
break;
}
list($tmpopt, $params) = $tmp;