diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:14:44 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:14:44 +0200 |
commit | 2e308c3608bea50e07aacf51b232eaedbda6eb20 (patch) | |
tree | 07907c66eb726606d228781914058e2b7b7a20a1 /lib/plugins/extension | |
parent | 8ecc39810428baa07bb322c5f515f56bac533746 (diff) | |
download | rpg-2e308c3608bea50e07aacf51b232eaedbda6eb20.tar.gz rpg-2e308c3608bea50e07aacf51b232eaedbda6eb20.tar.bz2 |
only carry the q to search tab
Diffstat (limited to 'lib/plugins/extension')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php index 139a1a16a..76651515c 100644 --- a/lib/plugins/extension/helper/gui.php +++ b/lib/plugins/extension/helper/gui.php @@ -180,8 +180,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { 'do' => 'admin', 'page' => 'extension', 'tab' => $tab, - 'q' => $INPUT->str('q') ); + if($tab == 'search') $defaults['q'] = $INPUT->str('q'); + return wl($ID, array_merge($defaults, $params), $absolute, $sep); } |