diff options
author | Adrian Lang <lang@cosmocode.de> | 2009-11-24 11:53:00 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2009-11-24 11:53:00 +0100 |
commit | 8537abd1703473c3f7ad79ef9fc10ddd39568705 (patch) | |
tree | eff2e58440d1ba79e017f0a84b31fb3ceed39ec3 /inc/search.php | |
parent | b51a0825dada15a03e2609960ebe14e63aef8a45 (diff) | |
download | rpg-8537abd1703473c3f7ad79ef9fc10ddd39568705.tar.gz rpg-8537abd1703473c3f7ad79ef9fc10ddd39568705.tar.bz2 |
Use correct variable name in search_universal
darcs-hash:20091124105300-e4919-ab8161782c535b7336794404b770caf652cd1a15.gz
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 4 |
1 files 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']); |