com php-src: Correct the location: Zend/zend_API.c

From: Date: Sat, 27 May 2017 04:11:53 +0000
Subject: com php-src: Correct the location: Zend/zend_API.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-97895@lists.php.net to get a copy of this message
Commit: ece7d223e821f57593e7c005a83500f6b491d723 Author: Xinchen Hui <laruence@gmail.com> Sat, 27 May 2017 12:11:53 +0800 Parents: 5269c4cacbc1372341d2091337d87fa3b0181490 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ece7d223e821f57593e7c005a83500f6b491d723 Log: Correct the location Changed paths: M Zend/zend_API.c Diff: diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 4f9f4f9..43c6209 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1160,10 +1160,9 @@ ZEND_API int zend_update_class_constants(zend_class_entry *class_type) /* {{{ */ *scope = old_scope; } + class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED; } - class_type->ce_flags |= ZEND_ACC_CONSTANTS_UPDATED; - return SUCCESS; } /* }}} */

« previous php.cvs (#97895) next »