From 5bec1490f90e1061d4b3416c8e34a5369c616475 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Wed, 27 May 2015 00:55:15 +0200 Subject: Fix phpdbg class fetch / method opcodes --- sapi/phpdbg/phpdbg_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_utils.c') diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c index 9d63fcf727..4cd8ce2782 100644 --- a/sapi/phpdbg/phpdbg_utils.c +++ b/sapi/phpdbg/phpdbg_utils.c @@ -384,7 +384,7 @@ int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry efree(str_name); } - return ce ? SUCCESS : FAILURE; + return *ce ? SUCCESS : FAILURE; } char *phpdbg_get_property_key(char *key) { -- cgit v1.2.1