From: Andi Gutmans Date: Thu, 6 Jul 2000 22:29:06 +0000 (+0000) Subject: - One more fix for the latest patch X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~372 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af5d38214b3dff1c97da70fe81be2e6ea384ead5;p=php - One more fix for the latest patch --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 5b9612b123..778ab6d564 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -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;