summaryrefslogtreecommitdiffstats
path: root/include/stats.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/stats.php')
-rw-r--r--include/stats.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stats.php b/include/stats.php
index 8ab7c6a..f0d436b 100644
--- a/include/stats.php
+++ b/include/stats.php
@@ -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);