From: Tomas V.V.Cox Date: Fri, 26 Jul 2002 10:01:28 +0000 (+0000) Subject: Silence NOTICE X-Git-Tag: dev~165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1690154e62046cc65a6fefe5780c6d630c98f30f;p=php Silence NOTICE --- diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php index 50c567d065..c7b802073e 100644 --- a/pear/Console/Getopt.php +++ b/pear/Console/Getopt.php @@ -210,7 +210,7 @@ class Console_Getopt { global $argv; if (!is_array($argv)) { if (!@is_array($_SERVER['argv'])) { - if (!is_array($HTTP_SERVER_VARS['argv'])) { + if (!@is_array($HTTP_SERVER_VARS['argv'])) { return PEAR::raiseError("Console_Getopt: Could not read cmd args (register_argc_argv=Off?)"); } return $HTTP_SERVER_VARS['argv'];