summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-09-16 13:42:31 +0000
committerDmitry Stogov <dmitry@php.net>2005-09-16 13:42:31 +0000
commit3c76f253e8b7570d6d94f7234135c31de8d57246 (patch)
tree00f2ffd8202e2f04a81bd9463a1c77fbdf77cce6
parent0993ab6ad999c5ff587a6d208642181b64bf7007 (diff)
downloadphp-git-3c76f253e8b7570d6d94f7234135c31de8d57246.tar.gz
MFH (overriding of protected static property)
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index fa25254a98..1a8c66fb71 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2146,7 +2146,7 @@ static zend_bool do_inherit_property_access_check(HashTable *target_ht, zend_pro
}
if (zend_u_hash_find(ht, utype, prot_name, prot_name_length+1, (void**)&prop) == SUCCESS) {
zval **new_prop;
- if (zend_u_hash_find(ht, utype, child_info->name, child_info->name_length+1, (void**)&new_prop) == SUCCESS) {
+ if (zend_u_hash_find(&ce->default_static_members, utype, child_info->name, child_info->name_length+1, (void**)&new_prop) == SUCCESS) {
if (Z_TYPE_PP(new_prop) != IS_NULL && Z_TYPE_PP(prop) != IS_NULL) {
char *prop_name, *tmp;