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=61e7d880af99d216d2d176b21aea668eb9d3f3b8;hb=0082bc6dc92a82f37517ea410f8fd29c1b77f01e;hpb=c581cd05476d07f0fd17dab41cbb211a443fd57f diff --git a/include/stats.php b/include/stats.php index 61e7d88..f0d436b 100644 --- a/include/stats.php +++ b/include/stats.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud * * This file is part of e-DoKo. * @@ -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);