aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-07 17:05:15 +0000
committermistic100 <mistic@piwigo.org>2011-05-07 17:05:15 +0000
commit3fecd755bf92c06c4cace1d4f8787f68797e5c02 (patch)
tree15fa0dcf8648845ec02d386f22d7412e5b38d58d /picture.php
parentfdfe41e3433d420bbfe643ada3e98e1d081fd78d (diff)
Undefined variable: url_admin in picture.php on line 1048
git-svn-id: http://piwigo.org/svn/trunk@10814 68402e56-0260-453c-a942-63ccdbb3a9ee
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 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');