* Very minor bugfixes
[squirrelmail.git] / src / load_prefs.php
index 0380b4dec7b9b7c9379b7945e4fad8ce846da588..31389dfc4f6f59187ac97506b99f83c545fd8e60 100644 (file)
@@ -19,6 +19,8 @@
       include("../functions/plugin.php");
       
    $load_prefs_php = true;
       include("../functions/plugin.php");
       
    $load_prefs_php = true;
+   if (!isset($username))
+       $username = '';
    checkForPrefs($data_dir, $username);
 
    $chosen_theme = getPref($data_dir, $username, "chosen_theme");
    checkForPrefs($data_dir, $username);
 
    $chosen_theme = getPref($data_dir, $username, "chosen_theme");