]> granicus.if.org Git - php/commitdiff
revert - seems to be fixed elsewhere
authorStanislav Malyshev <stas@php.net>
Wed, 18 May 2005 15:30:35 +0000 (15:30 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 18 May 2005 15:30:35 +0000 (15:30 +0000)
Zend/zend_object_handlers.c

index bbba6f489257e76e076124bd7514d6efe0396e8d..48b9b9106b85fb7729faab811b913e8bab7711b1 100644 (file)
@@ -738,7 +738,7 @@ ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *propert
        zend_printf("Access type for %s::%s is %s\n", ce->name, property_name, zend_visibility_string(property_info->flags));
 #endif
 
-       if (!zend_verify_property_access(property_info, EG(scope) TSRMLS_CC)) {
+       if (!zend_verify_property_access(property_info, ce TSRMLS_CC)) {
                if (!silent) {
                        zend_error(E_ERROR, "Cannot access %s property %s::$%s", zend_visibility_string(property_info->flags), ce->name, property_name);
                }