X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fstats.php;h=f0d436b089b639196f583e223fb6fe7f9cc03660;hp=8ab7c6a5e903bbc4217fb126136c2f4008288511;hb=1e258af4136567ab30ce9b54aee751077f80590e;hpb=d760c835fcf5444dd1a0b2997e6eb5744e0be952 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);