Fixed display error in From-lines of the form: "Doe, John" <john@doe.org>
[squirrelmail.git] / src / load_prefs.php
index 07856cf102b07a27b298db4ac42ed2084f67e9ba..ccce865489d5a98a13cdc1cc56252d83a28ca0c0 100644 (file)
@@ -19,7 +19,10 @@ require_once('../functions/constants.php');
 
 $username = ( !isset($username) ? '' : $username );
 
-global $theme, $chosen_theme, $color;
+global $theme, $chosen_theme, $color, $custom_css;
+
+$custom_css = getPref($data_dir, $username, 'custom_css', 'none' );
+
 $theme = ( !isset($theme) ? array() : $theme );
 $color = ( !isset($color) ? array() : $color );
 
@@ -226,7 +229,7 @@ $javascript_setting =
 $javascript_on = getPref($data_dir, $username, 'javascript_on', SMPREF_ON);
 
 global $search_memory;
-$search_memory = getPref($data_dir, $username, 'search_memory', 2);
+$search_memory = getPref($data_dir, $username, 'search_memory', 0);
 
 do_hook('loading_prefs');