aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 3464230f6..b62f1ab5b 100644
--- a/picture.php
+++ b/picture.php
@@ -1045,7 +1045,7 @@ $themeconf = $template->get_template_vars('themeconf');
if ($conf['picture_menu'] AND (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude'])))
{
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
- $template->assign('U_ADMIN', $url_admin); // overwrited by the menu
+ if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu
}
include(PHPWG_ROOT_PATH.'include/page_header.php');