From: Marcus Boerger Date: Wed, 14 Dec 2005 09:55:11 +0000 (+0000) Subject: - MFH Fix issue spotted by Wez using ms vc 2005 X-Git-Tag: php-5.1.2RC1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c8027584f1fbdfc67780e83e96118624f8186b1;p=php - MFH Fix issue spotted by Wez using ms vc 2005 --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index c4931b0caf..3afbd43f3f 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -303,7 +303,7 @@ static spl_filesystem_object * spl_filesystem_object_create_info(spl_filesystem_ php_set_error_handling(EH_THROW, spl_ce_RuntimeException TSRMLS_CC); - return_value->value.obj = spl_filesystem_object_new_ex(ce ? ce : intern->info_class, &intern TSRMLS_CC); + return_value->value.obj = spl_filesystem_object_new_ex(ce ? ce : source->info_class, &intern TSRMLS_CC); Z_TYPE_P(return_value) = IS_OBJECT; spl_filesystem_info_set_filename(intern, file_path, file_path_len, use_copy TSRMLS_CC);