aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/menubar.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 8f5d8eb49..3d39cd8e5 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -40,7 +40,7 @@ function initialize_menu()
$menu->load_registered_blocks();
$menu->prepare_display();
- if ( $page['section']=='search' and isset($page['qsearch_details']) )
+ if ( @$page['section']=='search' and isset($page['qsearch_details']) )
{
$template->assign('QUERY_SEARCH', htmlspecialchars($page['qsearch_details']['q']) );
}