aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/menubar.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 07ca96bcb..8f5d8eb49 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -40,6 +40,11 @@ function initialize_menu()
$menu->load_registered_blocks();
$menu->prepare_display();
+ if ( $page['section']=='search' and isset($page['qsearch_details']) )
+ {
+ $template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
+ }
+
//--------------------------------------------------------------- external links
if ( ($block=$menu->get_block('mbLinks')) and !empty($conf['links']) )
{