From 7b791c1ba3ff2d078b57af0bec350376a984aa02 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 24 Jun 2006 17:09:20 +0000 Subject: [PATCH] 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 --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] : ''; } /**