From: Dmitry Stogov Date: Mon, 24 Feb 2014 10:06:39 +0000 (+0400) Subject: Fixed wrong condition X-Git-Tag: POST_PHPNG_MERGE~412^2~558 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73b8e9aef4206fdbd31c7df9da52b96ae78a9a1e;p=php Fixed wrong condition --- diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index eb7d86ff6e..5f68520644 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -452,7 +452,7 @@ zval *zend_std_read_property(zval *object, zval *member, int type, const zend_li } goto exit; } - if (UNEXPECTED(!zobj->properties)) { + if (UNEXPECTED(zobj->properties != NULL)) { retval = zend_hash_find(zobj->properties, property_info->name); if (retval) goto exit; }