LAYOUT: fixed layout bugs due to newer version of jquery
[e-DoKo.git] / include / stats.php
index 8ab7c6a5e903bbc4217fb126136c2f4008288511..f0d436b089b639196f583e223fb6fe7f9cc03660 100644 (file)
@@ -35,6 +35,8 @@ if(!$myid)
   return;
 
 $PREF = DB_get_PREF($myid);
+/* set language chosen in preferences, will become active on the next reload (see index.php)*/
+$_SESSION['language'] = $PREF['language'];
 
 DB_update_user_timestamp($myid);