From 5011da9d506a2907a8681b32b8649e6a20cfacdb Mon Sep 17 00:00:00 2001 From: Esther Brunner Date: Sat, 27 Aug 2005 13:33:45 +0200 Subject: small fix for metaFiles() function darcs-hash:20050827113345-283c4-39bc5ad9653004d709c5ec37deccb10c78cc2cfc.gz --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pageutils.php') 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; -- cgit v1.2.3