summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-06-06 15:52:41 +0000
committerGreg Beaver <cellog@php.net>2004-06-06 15:52:41 +0000
commit9304645cf3b157d18393f25657230f8f802907c3 (patch)
tree575cf561fea79712e1bce7948d66a3f3c3437c09 /pear
parent84d9651b617903a229a1900498703dde2957d442 (diff)
downloadphp-git-9304645cf3b157d18393f25657230f8f802907c3.tar.gz
add missing $tmp to PEAR::isError()
Diffstat (limited to 'pear')
-rw-r--r--pear/scripts/pearcmd.php2
1 files changed, 1 insertions, 1 deletions
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;