diff options
Diffstat (limited to 'Zend/zend_object_handlers.c')
| -rw-r--r-- | Zend/zend_object_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index 9a3642f050..04ba0bd1bf 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -397,8 +397,8 @@ static union _zend_function *zend_std_get_method(zval *object, char *method_name call_user_call->type = ZEND_INTERNAL_FUNCTION; call_user_call->handler = zend_std_call_user_call; call_user_call->arg_types = NULL; - call_user_call->scope = NULL; - call_user_call->is_static = 0; + call_user_call->scope = zobj->ce; + call_user_call->fn_flags = 0; call_user_call->function_name = estrndup(method_name, method_len); free_alloca(lc_method_name); |
