summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2008-05-03 16:00:40 +0000
committerEtienne Kneuss <colder@php.net>2008-05-03 16:00:40 +0000
commitb6e7b8e09a4b7520edc31faa85475bfcea6f01d4 (patch)
treea083e12ad84b8fb01a2a73985396e1a76c993bc7 /ext/spl
parent0685a79356f4f4d07bf83657eab7f113af2c263b (diff)
downloadphp-git-b6e7b8e09a4b7520edc31faa85475bfcea6f01d4.tar.gz
MFB: Fix #44838 (static class reference restricting overwriting)
Diffstat (limited to 'ext/spl')
-rwxr-xr-xext/spl/spl_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 703eae203b..fbedf49666 100755
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -1055,7 +1055,7 @@ SPL_METHOD(RecursiveDirectoryIterator, getChildren)
INIT_PZVAL(&zpath);
ZVAL_STRINGL(&zpath, intern->file_name, intern->file_name_len, 0);
- spl_instantiate_arg_ex1(spl_ce_RecursiveDirectoryIterator, &return_value, 0, &zpath TSRMLS_CC);
+ spl_instantiate_arg_ex1(Z_OBJCE_P(getThis()), &return_value, 0, &zpath TSRMLS_CC);
subdir = (spl_filesystem_object*)zend_object_store_get_object(return_value TSRMLS_CC);
if (subdir) {