From: Andi Gutmans Date: Sat, 16 Oct 2004 23:17:58 +0000 (+0000) Subject: - One more test (WS) X-Git-Tag: PRE_NEW_VM_GEN_PATCH~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2c7379ca7faba66b64f1e10e6ffae21c8f51be3;p=php - One more test (WS) --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index e660a32364..af5ac78f23 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1944,7 +1944,7 @@ static zend_bool do_inherit_property_access_check(HashTable *target_ht, zend_pro /* Explicitly copy the default value from the parent (if it has one) */ zval **pvalue; - if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue)==SUCCESS) { + if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue) == SUCCESS) { (*pvalue)->refcount++; zend_hash_del(&ce->default_properties, child_info->name, child_info->name_length+1); zend_hash_quick_update(&ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, pvalue, sizeof(zval *), NULL);