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=de8089a2e706b0d83b8bff90d11559500f1a6711;hpb=cc143e38299d3dd3981efd81972c0e0df4df1462 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);