Skip to content

Commit f2c7379

Browse files
author
Andi Gutmans
committed
- One more test (WS)
1 parent 30ff6d2 commit f2c7379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1944,7 +1944,7 @@ static zend_bool do_inherit_property_access_check(HashTable *target_ht, zend_pro
19441944
/* Explicitly copy the default value from the parent (if it has one) */
19451945
zval **pvalue;
19461946

1947-
if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue)==SUCCESS) {
1947+
if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue) == SUCCESS) {
19481948
(*pvalue)->refcount++;
19491949
zend_hash_del(&ce->default_properties, child_info->name, child_info->name_length+1);
19501950
zend_hash_quick_update(&ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, pvalue, sizeof(zval *), NULL);

0 commit comments

Comments
 (0)