]> granicus.if.org Git - php/commitdiff
- One more fix for the latest patch
authorAndi Gutmans <andi@php.net>
Thu, 6 Jul 2000 22:29:06 +0000 (22:29 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 6 Jul 2000 22:29:06 +0000 (22:29 +0000)
Zend/zend_compile.c

index 5b9612b123223974fb66b8785d79fc7d6b9ef775..778ab6d564a879e56b7e616307811637110f2207 100644 (file)
@@ -581,7 +581,7 @@ zend_bool is_method_call(CLS_D)
                cur = cur->next;
        }
        cur_opline = (zend_op *)cur->data;
-       if (cur_opline->opcode == ZEND_FETCH_OBJ_R) {
+       if (cur_opline->opcode == ZEND_FETCH_OBJ_W) {
                        return 1;
        }
        return 0;