Skip to content
Snippets Groups Projects
Commit 5011da9d authored by Esther Brunner's avatar Esther Brunner
Browse files

small fix for metaFiles() function

darcs-hash:20050827113345-283c4-39bc5ad9653004d709c5ec37deccb10c78cc2cfc.gz
parent 521f0997
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment