com php-src: Fixed wrong condition: Zend/zend_object_handle rs.c
| From: | Dmitry Stogov | Date: | Mon, 24 Feb 2014 10:06:39 +0000 |
| Subject: | com php-src: Fixed wrong condition: Zend/zend_object_handle rs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77964@lists.php.net to get a copy of this message | ||
Commit: 73b8e9aef4206fdbd31c7df9da52b96ae78a9a1e
Author: Dmitry Stogov <dmitry@zend.com> Mon, 24 Feb 2014 14:06:39 +0400
Parents: 454e9911ad664c1fb51e663c001137ef1dcd4762
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=73b8e9aef4206fdbd31c7df9da52b96ae78a9a1e
Log:
Fixed wrong condition
Changed paths:
M Zend/zend_object_handlers.c
Diff:
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index eb7d86f..5f68520 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;
}