]> granicus.if.org Git - php/commitdiff
- One more test (WS)
authorAndi Gutmans <andi@php.net>
Sat, 16 Oct 2004 23:17:58 +0000 (23:17 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 16 Oct 2004 23:17:58 +0000 (23:17 +0000)
Zend/zend_compile.c

index e660a323642b4592f3d67a7b10abb85b5b357ca0..af5ac78f23327416accccf32c4aa8e8e8e46f20d 100644 (file)
@@ -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);