Somebody screwed up creating preferences for new user when added javascript preferenc...
authorondrass <ondrass@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 7 Nov 2001 19:51:15 +0000 (19:51 +0000)
committerondrass <ondrass@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 7 Nov 2001 19:51:15 +0000 (19:51 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1697 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/redirect.php

index 02892c3..42f23cc 100644 (file)
@@ -98,6 +98,7 @@
     session_register ('just_logged_in');
 
     /* Complete autodetection of Javascript. */
+    checkForPrefs($data_dir, $username);
     $javascript_setting = getPref($data_dir, $username, 'javascript_setting', SMPREF_JS_AUTODETECT);
     $js_autodetect_results = (isset($js_autodetect_results) ? $js_autodetect_results : SMPREF_JS_OFF);
     if ($javascript_setting == SMPREF_JS_AUTODETECT) {