]> granicus.if.org Git - php/commitdiff
* Fixed E_NOTICE on pear -V
authorTal Peer <tal@php.net>
Sun, 28 Jul 2002 17:06:28 +0000 (17:06 +0000)
committerTal Peer <tal@php.net>
Sun, 28 Jul 2002 17:06:28 +0000 (17:06 +0000)
pear/scripts/pear.in

index 3ae9930792e74697c76daeb9b158bfe16f524f2b..6f59b6e09f5ded1fe8342d833d9f182283d10c87 100644 (file)
@@ -242,7 +242,7 @@ function cmdHelp($command)
         return $ret;
 
     } elseif ($command == "version") {
-        return "PEAR Version: ".$GLOBALS[pear_package_version]."\nPHP Version: ".phpversion()."\nZend Engine Version: ".zend_version();
+        return "PEAR Version: ".$GLOBALS['pear_package_version']."\nPHP Version: ".phpversion()."\nZend Engine Version: ".zend_version();
 
     } elseif ($help = PEAR_Command::getHelp($command)) {
         if (is_string($help)) {