]> granicus.if.org Git - php/commitdiff
- Fix bug #36287
authorMarcus Boerger <helly@php.net>
Sun, 5 Feb 2006 11:43:28 +0000 (11:43 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 5 Feb 2006 11:43:28 +0000 (11:43 +0000)
ext/spl/spl_directory.c

index 6cfa182a2c3b1208ce20c4d24df5fcbdaefe1ba3..c56124608fa5dcae9759ec13da9f811776e233a0 100755 (executable)
@@ -1199,6 +1199,7 @@ static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type TS
                        return SUCCESS;
                }
        }
+       ZVAL_NULL(writeobj);
        return FAILURE;
 }
 /* }}} */