aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-05-15 19:24:29 +0000
committerrvelices <rv-github@modusoptimus.com>2014-05-15 19:24:29 +0000
commit3df9bd49795b7a72a6d9c129c758a12e15450dac (patch)
treef657edc183d0e03e37d8bfb68e1ebf3ee6527f46 /include
parent65f164c6cc7bbe72a7a72db9a8722a5837d60bd8 (diff)
fix php warning (from one of my previous commits)
git-svn-id: http://piwigo.org/svn/trunk@28484 68402e56-0260-453c-a942-63ccdbb3a9ee
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']) );
}