summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_utils.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-05-27 00:55:15 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-05-27 00:55:26 +0200
commit5bec1490f90e1061d4b3416c8e34a5369c616475 (patch)
tree3d776df511ccc9cd771450c47a379ef7cbcf2e6b /sapi/phpdbg/phpdbg_utils.c
parent7dac4d449f72d7eb029aa1a8ee87aaf38e17e1c5 (diff)
downloadphp-git-5bec1490f90e1061d4b3416c8e34a5369c616475.tar.gz
Fix phpdbg class fetch / method opcodes
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
-rw-r--r--sapi/phpdbg/phpdbg_utils.c2
1 files changed, 1 insertions, 1 deletions
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) {