fix php warning (from one of my previous commits)

git-svn-id: http://piwigo.org/svn/trunk@28484 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2014-05-15 19:24:29 +00:00
parent 65f164c6cc
commit 3df9bd4979
+1 -1
View File
@@ -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']) );
}