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:
chrisaga
2006-06-24 17:09:20 +00:00
parent 60ffeb4c0b
commit 7b791c1ba3
+1 -1
View File
@@ -847,7 +847,7 @@ function get_themeconf($key)
{
global $themeconf;
return $themeconf[$key];
return isset($themeconf[$key]) ? $themeconf[$key] : '';
}
/**