From: Marcus Boerger Date: Wed, 14 Dec 2005 09:55:04 +0000 (+0000) Subject: - Fix issue spotted by Wez using ms vc 2005 X-Git-Tag: RELEASE_1_0_4~386 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=218c07c32896bc3021fc561ad25420f58c321dc5;p=php - Fix issue spotted by Wez using ms vc 2005 --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 4b8eecb96b..84ca5a8b22 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, U_CLASS_ENTRY(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);