summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
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 ed40475189..76c9015a39 100644
--- a/pear/Console/Getopt.php
+++ b/pear/Console/Getopt.php
@@ -184,7 +184,7 @@ class Console_Getopt {
*/
function _parseLongOption($arg, $long_options, &$opts, &$args)
{
- @list($opt, $opt_arg) = explode('=', $arg);
+ @list($opt, $opt_arg) = explode('=', $arg, 2);
$opt_len = strlen($opt);
for ($i = 0; $i < count($long_options); $i++) {