From: garvinhicking Date: Tue, 12 Jul 2005 10:44:55 +0000 (+0000) Subject: use closedir and not fclose! X-Git-Tag: 0.9~317 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=87eac5f0bb513df91c12ccae0b34e6d0ee13a1ef;p=s9y.git use closedir and not fclose! --- diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 9dc7c9d..193b89f 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -1216,7 +1216,7 @@ function serendipity_traversePath($basedir, $dir='', $onlyDirs=true, $pattern = } } - fclose($dh); + @closedir($dh); return $files; }