]> granicus.if.org Git - php/commitdiff
Fixed incorrect argument number
authorDmitry Stogov <dmitry@zend.com>
Wed, 29 May 2013 07:09:55 +0000 (11:09 +0400)
committerDmitry Stogov <dmitry@zend.com>
Wed, 29 May 2013 07:09:55 +0000 (11:09 +0400)
Zend/zend_compile.c

index 8382b48e4ad30dd54e5d0f5255df2440e86e5f01..0fd1debcccccf3960934e09b5d7e01695a4bc7e4 100644 (file)
@@ -4019,7 +4019,7 @@ void zend_do_shell_exec(znode *result, const znode *cmd TSRMLS_DC) /* {{{ */
                        break;
        }
        opline->op1 = *cmd;
-       opline->op2.u.opline_num = 0;
+       opline->op2.u.opline_num = 1;
        opline->extended_value = ZEND_DO_FCALL;
        SET_UNUSED(opline->op2);