diff options
author | Ondřej Surý <ondrej@sury.org> | 2014-06-27 15:14:42 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2014-06-27 15:14:42 +0200 |
commit | 3ca6d1dd5d8c32b17a52b0fa965c5eba28f368ed (patch) | |
tree | b4d659bad0443456239557ae3e08e953ead97494 /ext/spl/spl_iterators.c | |
parent | 675f42e16d209ea58fdaa63f7f45581a264e86c4 (diff) | |
download | php-upstream/5.5.14+dfsg.tar.gz |
New upstream version 5.5.14+dfsgupstream/5.5.14+dfsg
Diffstat (limited to 'ext/spl/spl_iterators.c')
-rw-r--r-- | ext/spl/spl_iterators.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 047b47f26..7c20352e9 100644 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -848,6 +848,8 @@ static union _zend_function *spl_recursive_it_get_method(zval **object_ptr, char *object_ptr = zobj; function_handler = Z_OBJ_HT_P(*object_ptr)->get_method(object_ptr, method, method_len, key TSRMLS_CC); } + } else { + *object_ptr = zobj; } } return function_handler; |