mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Undefined variable: url_admin in picture.php on line 1048
git-svn-id: http://piwigo.org/svn/trunk@10814 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user