mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Fix return value.
This commit is contained in:
parent
c7d27ad938
commit
fd7b38d752
@ -1341,7 +1341,7 @@ SXE_METHOD(current)
|
||||
{
|
||||
php_sxe_object *sxe = php_sxe_fetch_object(getThis() TSRMLS_CC);
|
||||
|
||||
REPLACE_ZVAL_VALUE(&return_value, sxe->iter.data, 1);
|
||||
RETURN_ZVAL(sxe->iter.data, 1, 0);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user