diff --git a/Zend/zend_API.c b/Zend/zend_API.c index b414b52ecdc..3687b6a67b2 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1066,7 +1066,7 @@ static int zval_update_class_constant(zval **pp, int is_static, int offset TSRML zend_hash_get_current_data_ex(&ce->properties_info, (void **) &prop_info, &pos) == SUCCESS; zend_hash_move_forward_ex(&ce->properties_info, &pos)) { if (is_static == ((prop_info->flags & ZEND_ACC_STATIC) != 0) && - offset == prop_info->offset) { + offset == prop_info->offset) { int ret; zend_class_entry *old_scope = *scope; *scope = prop_info->ce; @@ -1078,7 +1078,7 @@ static int zval_update_class_constant(zval **pp, int is_static, int offset TSRML ce = ce->parent; } while (ce); - } + } return zval_update_constant(pp, (void*)1 TSRMLS_CC); } return 0;