Explorar el Código

Somebody screwed up creating preferences for new user when added javascript preference in src/redirect.php

Ondřej Surý hace 24 años
padre
commit
35508f0ba4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/redirect.php

+ 1 - 0
src/redirect.php

@@ -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) {