From fe7aa7238d1ffe08fa7601dafa1a03d267d43c41 Mon Sep 17 00:00:00 2001 From: kink Date: Sat, 28 Jan 2006 17:26:59 +0000 Subject: [PATCH] catch the case that the user has an old config with templateset_default missing git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10589 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/load_prefs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/load_prefs.php b/include/load_prefs.php index a04f57b..902b4bb 100644 --- a/include/load_prefs.php +++ b/include/load_prefs.php @@ -27,6 +27,7 @@ $custom_css = getPref($data_dir, $username, 'custom_css', 'none' ); $theme = ( !isset($theme) ? array() : $theme ); $color = ( !isset($color) ? array() : $color ); $aTemplateSet = ( !isset($aTemplateSet) ? array() : $aTemplateSet ); +$templateset_default = ( !isset($templateset_default) ? 0 : $templateset_default ); $chosen_theme = getPref($data_dir, $username, 'chosen_theme'); $sTplDir = getPref($data_dir, $username, 'sTplDir'); -- 1.9.1