diff options
author | Esther Brunner <esther@kaffeehaus.ch> | 2005-08-27 13:33:45 +0200 |
---|---|---|
committer | Esther Brunner <esther@kaffeehaus.ch> | 2005-08-27 13:33:45 +0200 |
commit | 5011da9d506a2907a8681b32b8649e6a20cfacdb (patch) | |
tree | fc25bee57984947f4756c99048400e159de7f0df | |
parent | 521f0997dc8ddf5d87bdff39a2839d2d9351211f (diff) | |
download | rpg-5011da9d506a2907a8681b32b8649e6a20cfacdb.tar.gz rpg-5011da9d506a2907a8681b32b8649e6a20cfacdb.tar.bz2 |
small fix for metaFiles() function
darcs-hash:20050827113345-283c4-39bc5ad9653004d709c5ec37deccb10c78cc2cfc.gz
-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; |