aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index b62f1ab5b..3970839fe 100644
--- a/picture.php
+++ b/picture.php
@@ -1042,7 +1042,7 @@ if ($metadata_showable and pwg_get_session_var('show_metadata') <> null )
// include menubar
$themeconf = $template->get_template_vars('themeconf');
-if ($conf['picture_menu'] AND (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude'])))
+if ($conf['picture_menu'] AND (!isset($themeconf['hide_menu_on']) OR !in_array('thePicturePage', $themeconf['hide_menu_on'])))
{
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu