From 39d71e375c4053dce2abf8b27b5db34ea4eb40f6 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 5 Feb 2006 11:43:44 +0000 Subject: [PATCH] - MFH Fix bug #36287 --- ext/spl/spl_directory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index cc5ba53a16..8a51c0d7c4 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -1203,6 +1203,7 @@ static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type, i return SUCCESS; } } + ZVAL_NULL(writeobj); return FAILURE; } /* }}} */ -- 2.50.1