diff options
author | Sander Roobol <sander@php.net> | 2002-08-04 19:00:53 +0000 |
---|---|---|
committer | Sander Roobol <sander@php.net> | 2002-08-04 19:00:53 +0000 |
commit | ef8eb9220659913e912875792cd46c1b902ae85f (patch) | |
tree | bb75a054a24355eae057e0b56ddbce83a0b82892 /pear/Console | |
parent | 81df62526089f0ce04b95cdea12da074abbf009a (diff) | |
download | php-git-ef8eb9220659913e912875792cd46c1b902ae85f.tar.gz |
Nuke notice (thanks to Arnaud Limbourg)
Diffstat (limited to 'pear/Console')
-rw-r--r-- | pear/Console/Getopt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php index 1a38534ace..964421943f 100644 --- a/pear/Console/Getopt.php +++ b/pear/Console/Getopt.php @@ -80,7 +80,7 @@ class Console_Getopt { if ($long_options) { sort($long_options); } - if ($args[0]{0} != '-') { + if (isset($args[0]{0}) && $args[0]{0} != '-') { array_shift($args); } reset($args); |