]> granicus.if.org Git - php/commitdiff
add missing $tmp to PEAR::isError()
authorGreg Beaver <cellog@php.net>
Sun, 6 Jun 2004 15:52:41 +0000 (15:52 +0000)
committerGreg Beaver <cellog@php.net>
Sun, 6 Jun 2004 15:52:41 +0000 (15:52 +0000)
pear/scripts/pearcmd.php

index c410c0a7f01593242e9b526e4b64538fc123dd65..b258cdce6cf2f37a8b934bca29f3ff65076b4a0e 100644 (file)
@@ -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;