From: kink Date: Sat, 28 Jan 2006 17:26:59 +0000 (+0000) Subject: catch the case that the user has an old config with templateset_default missing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fe7aa7238d1ffe08fa7601dafa1a03d267d43c41;p=squirrelmail.git 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 --- diff --git a/include/load_prefs.php b/include/load_prefs.php index a04f57b8..902b4bbe 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');