diff options
-rw-r--r-- | inc/pageutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php index 5ac905c23..20e0fbcb4 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -162,7 +162,7 @@ function metaFiles($id){ $files = array(); $dh = @opendir($dir); - if(!$dh) return; + if(!$dh) return $files; while(($file = readdir($dh)) !== false){ if(strpos($file,$name.'.') === 0 && !is_dir($dir.$file)) $files[] = $dir.$file; |