From: Greg Beaver Date: Sun, 6 Jun 2004 15:52:41 +0000 (+0000) Subject: add missing $tmp to PEAR::isError() X-Git-Tag: php-5.0.0RC3~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9304645cf3b157d18393f25657230f8f802907c3;p=php add missing $tmp to PEAR::isError() --- diff --git a/pear/scripts/pearcmd.php b/pear/scripts/pearcmd.php index c410c0a7f0..b258cdce6c 100644 --- a/pear/scripts/pearcmd.php +++ b/pear/scripts/pearcmd.php @@ -168,7 +168,7 @@ if ($fetype == 'Gtk') { } else { $tmp = Console_Getopt::getopt($options[1], $short_args, $long_args); } - if (PEAR::isError()) { + if (PEAR::isError($tmp)) { break; } list($tmpopt, $params) = $tmp;