From 1a54dfab2dc24df347bedc71b1d828855d83b89f Mon Sep 17 00:00:00 2001 From: Esther Brunner Date: Thu, 18 Aug 2005 20:15:31 +0200 Subject: fix for incorrect comparison in metaFiles() darcs-hash:20050818181531-283c4-10490cd5bf3e8ecaa73673f67c3001c3c2230c78.gz --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3