X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fstats.php;h=d72b1efcc70ab6bb073b172b5b7cdb259d218b75;hp=61e7d880af99d216d2d176b21aea668eb9d3f3b8;hb=2aa6083b051373dc64470e707d6b21600f89a534;hpb=fceb0d9bc48ae848461e728abaf5065a2578da61 diff --git a/include/stats.php b/include/stats.php index 61e7d88..d72b1ef 100644 --- a/include/stats.php +++ b/include/stats.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud * * This file is part of e-DoKo. * @@ -35,6 +35,9 @@ if(!$myid) return; $PREF = DB_get_PREF($myid); +/* set language chosen in preferences*/ +$_SESSION['language'] = $PREF['language']; +set_language($PREF['language']); DB_update_user_timestamp($myid);