com php-src: Fixed typo in previous commit: Zend/zend_interfa ces.c

From: Date: Fri, 28 Feb 2014 05:15:51 +0000
Subject: com php-src: Fixed typo in previous commit: Zend/zend_interfa ces.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77870@lists.php.net to get a copy of this message
Commit: 32311747496da82069017649590e0fec801443c2 Author: Xinchen Hui <laruence@gmail.com> Fri, 28 Feb 2014 13:15:51 +0800 Parents: fb825a95d0ff0106beb4b2957aad10fb08f90a22 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=32311747496da82069017649590e0fec801443c2 Log: Fixed typo in previous commit Changed paths: M Zend/zend_interfaces.c Diff: diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c index 6d6e780..e99f632 100644 --- a/Zend/zend_interfaces.c +++ b/Zend/zend_interfaces.c @@ -176,10 +176,9 @@ ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter TSRMLS_ zend_user_iterator *iter = (zend_user_iterator*)_iter; zval *object = &iter->it.data; - if (!ZVAL_IS_UNDEF(&iter->value)) { + if (ZVAL_IS_UNDEF(&iter->value)) { zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value); - } - + } return &iter->value; } /* }}} */

« previous php.cvs (#77870) next »