diff options
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index ea9c3dee4a..a9ea4469a7 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -328,7 +328,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC) } last = cur; } - if (zend_hash_find(&ce->constants, last, strlen(last)+1, (void **) &value) == FAILURE) { + if (zend_hash_find(&ce->constants_table, last, strlen(last)+1, (void **) &value) == FAILURE) { zend_error(E_ERROR, "Invalid class! Improve this error message"); } const_value = **value; |