diff options
author | Esther Brunner <esther@kaffeehaus.ch> | 2005-08-18 20:15:31 +0200 |
---|---|---|
committer | Esther Brunner <esther@kaffeehaus.ch> | 2005-08-18 20:15:31 +0200 |
commit | 1a54dfab2dc24df347bedc71b1d828855d83b89f (patch) | |
tree | 8b2d4cc218d21feaa3b95206b030197ec74e6030 | |
parent | f4e5a5701bfc0a178a6d0f350e55f9642120acb4 (diff) | |
download | rpg-1a54dfab2dc24df347bedc71b1d828855d83b89f.tar.gz rpg-1a54dfab2dc24df347bedc71b1d828855d83b89f.tar.bz2 |
fix for incorrect comparison in metaFiles()
darcs-hash:20050818181531-283c4-10490cd5bf3e8ecaa73673f67c3001c3c2230c78.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 10f8bd35e..5ac905c23 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -164,7 +164,7 @@ function metaFiles($id){ $dh = @opendir($dir); if(!$dh) return; while(($file = readdir($dh)) !== false){ - if(strpos($file,$name.'.') == 0 && !is_dir($dir.$file)) + if(strpos($file,$name.'.') === 0 && !is_dir($dir.$file)) $files[] = $dir.$file; } closedir($dh); |