From 8537abd1703473c3f7ad79ef9fc10ddd39568705 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Tue, 24 Nov 2009 11:53:00 +0100 Subject: Use correct variable name in search_universal darcs-hash:20091124105300-e4919-ab8161782c535b7336794404b770caf652cd1a15.gz --- inc/search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/search.php b/inc/search.php index 547e15bca..8712114d1 100644 --- a/inc/search.php +++ b/inc/search.php @@ -553,9 +553,9 @@ function search_universal(&$data,$base,$file,$type,$lvl,$opts){ // get ID and check if it is a valid one $item['id'] = pathID($file); - if($info['id'] != cleanID($info['id'])){ + if($item['id'] != cleanID($item['id'])){ if($opts['showmsg']) - msg(hsc($info['id']).' is not a valid file name for DokuWiki - skipped',-1); + msg(hsc($item['id']).' is not a valid file name for DokuWiki - skipped',-1); return false; // skip non-valid files } $item['ns'] = getNS($item['id']); -- cgit v1.2.3