From: Tal Peer Date: Sun, 28 Jul 2002 17:06:28 +0000 (+0000) Subject: * Fixed E_NOTICE on pear -V X-Git-Tag: dev~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90488714eebec80bf2249e00649a4ae6d827a1bd;p=php * Fixed E_NOTICE on pear -V --- diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index 3ae9930792..6f59b6e09f 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -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)) {