From 3fecd755bf92c06c4cace1d4f8787f68797e5c02 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 7 May 2011 17:05:15 +0000 Subject: Undefined variable: url_admin in picture.php on line 1048 git-svn-id: http://piwigo.org/svn/trunk@10814 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'picture.php') 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'); -- cgit v1.2.3