diff options
author | chrisaga <chrisaga@piwigo.org> | 2006-06-24 17:09:20 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2006-06-24 17:09:20 +0000 |
commit | 7b791c1ba3ff2d078b57af0bec350376a984aa02 (patch) | |
tree | a8f69e005c122fd3a774a2285e2956b6e4e2c3aa /include/functions.inc.php | |
parent | 60ffeb4c0b5236ebc6dc269519792894fa4bf4bb (diff) |
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
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 89bf29c0f..970f80786 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -847,7 +847,7 @@ function get_themeconf($key) { global $themeconf; - return $themeconf[$key]; + return isset($themeconf[$key]) ? $themeconf[$key] : ''; } /** |