summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2002-07-26 10:01:28 +0000
committerTomas V.V.Cox <cox@php.net>2002-07-26 10:01:28 +0000
commit1690154e62046cc65a6fefe5780c6d630c98f30f (patch)
treed22b5ff19e0e814258093031cc0b09db94f4077b /pear
parent02e6cd022aa114c346815f2f66d2b759fc15715b (diff)
downloadphp-git-1690154e62046cc65a6fefe5780c6d630c98f30f.tar.gz
Silence NOTICE
Diffstat (limited to 'pear')
-rw-r--r--pear/Console/Getopt.php2
1 files changed, 1 insertions, 1 deletions
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'];