cvs: php4 /pear/Console Getopt.php
| From: | Tomas V.V.Cox | Date: | Fri, 26 Jul 2002 10:01:29 +0000 |
| Subject: | cvs: php4 /pear/Console Getopt.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5352@lists.php.net to get a copy of this message | ||
cox Fri Jul 26 06:01:29 2002 EDT
Modified files:
/php4/pear/Console Getopt.php
Log:
Silence NOTICE
Index: php4/pear/Console/Getopt.php
diff -u php4/pear/Console/Getopt.php:1.16 php4/pear/Console/Getopt.php:1.17
--- php4/pear/Console/Getopt.php:1.16 Tue Jul 9 06:52:25 2002
+++ php4/pear/Console/Getopt.php Fri Jul 26 06:01:28 2002
@@ -16,7 +16,7 @@
// | Author: Andrei Zmievski <andrei@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Getopt.php,v 1.16 2002/07/09 10:52:25 ssb Exp $
+// $Id: Getopt.php,v 1.17 2002/07/26 10:01:28 cox Exp $
require_once 'PEAR.php';
@@ -210,7 +210,7 @@
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'];