projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BUGFIX: removed side effect from getting the user's preferences: the language used...
[e-DoKo.git]
/
include
/
stats.php
diff --git
a/include/stats.php
b/include/stats.php
index 8ab7c6a5e903bbc4217fb126136c2f4008288511..f0d436b089b639196f583e223fb6fe7f9cc03660 100644
(file)
--- 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);