Fix return value.

This commit is contained in:
Marcus Boerger 2003-11-29 18:16:03 +00:00
parent c7d27ad938
commit fd7b38d752

View File

@ -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);
}
/* }}} */