From 3df9bd49795b7a72a6d9c129c758a12e15450dac Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 15 May 2014 19:24:29 +0000 Subject: fix php warning (from one of my previous commits) git-svn-id: http://piwigo.org/svn/trunk@28484 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/menubar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/menubar.inc.php') 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']) ); } -- cgit v1.2.3