summaryrefslogtreecommitdiff
path: root/inc/search.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-08-29 09:41:54 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-08-29 09:41:54 +0200
commit272000286c073349cd0ba898df00c4fe81492461 (patch)
tree06ee64b03e2b7ecb21b302f7d0bed0e4f39701fd /inc/search.php
parent396c218f61d8626a516941cd6cd66f09e528e32c (diff)
downloadrpg-272000286c073349cd0ba898df00c4fe81492461.tar.gz
rpg-272000286c073349cd0ba898df00c4fe81492461.tar.bz2
added missing keeptxt option to universal search FS#2014
Diffstat (limited to 'inc/search.php')
-rw-r--r--inc/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php
index 322c53e25..ea8897662 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -549,7 +549,7 @@ function search_universal(&$data,$base,$file,$type,$lvl,$opts){
$return = true;
// get ID and check if it is a valid one
- $item['id'] = pathID($file);
+ $item['id'] = pathID($file,$opts['keeptxt']);
if($item['id'] != cleanID($item['id'])){
if($opts['showmsg'])
msg(hsc($item['id']).' is not a valid file name for DokuWiki - skipped',-1);