projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catch the case that the user has an old config with templateset_default missing
[squirrelmail.git]
/
include
/
load_prefs.php
diff --git
a/include/load_prefs.php
b/include/load_prefs.php
index a04f57b818b30ea61470d10e47a8878f5e551d1c..902b4bbe9b2cb10650ee656377314b733eee7e9b 100644
(file)
--- 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 );
$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');
$chosen_theme = getPref($data_dir, $username, 'chosen_theme');
$sTplDir = getPref($data_dir, $username, 'sTplDir');