From 19117cf9c90c6d78a5d55e01e4fe777ecbc866fc Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 5 Feb 2006 11:43:28 +0000 Subject: [PATCH] - 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 6cfa182a2c..c56124608f 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -1199,6 +1199,7 @@ static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TS return SUCCESS; } } + ZVAL_NULL(writeobj); return FAILURE; } /* }}} */ -- 2.40.0