Skip to content

Commit ece7d22

Browse files
committed
Correct the location
1 parent 5269c4c commit ece7d22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_API.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,10 +1160,9 @@ ZEND_API int zend_update_class_constants(zend_class_entry *class_type) /* {{{ */
11601160

11611161
*scope = old_scope;
11621162
}
1163+
class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED;
11631164
}
11641165

1165-
class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED;
1166-
11671166
return SUCCESS;
11681167
}
11691168
/* }}} */

0 commit comments

Comments
 (0)