mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fix : test if themeconf variable exist to avoid a "PHP Notice" in the log
git-svn-id: http://piwigo.org/svn/trunk@1400 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -847,7 +847,7 @@ function get_themeconf($key)
|
||||
{
|
||||
global $themeconf;
|
||||
|
||||
return $themeconf[$key];
|
||||
return isset($themeconf[$key]) ? $themeconf[$key] : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user