summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/Console/Getopt.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php
index 15fe9efe34..964421943f 100644
--- a/pear/Console/Getopt.php
+++ b/pear/Console/Getopt.php
@@ -82,7 +82,6 @@ class Console_Getopt {
}
if (isset($args[0]{0}) && $args[0]{0} != '-') {
array_shift($args);
- $args = array_values($args);
}
reset($args);
while (list($i, $arg) = each($args)) {