X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fuser.php;h=1b3d83e69d2b20d95ef01cf6a6bd25addd244fcc;hp=b811cdaa0d4f52a74c5ae632e5865b868a96f36a;hb=4ace44d3bfa9a4ec099a3a3bf56d6971f054eb5b;hpb=f55dbd7a08908c0443b5ed9d20c2dc74bb8b1026 diff --git a/include/user.php b/include/user.php index b811cda..1b3d83e 100644 --- a/include/user.php +++ b/include/user.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud * * This file is part of e-DoKo. * @@ -121,6 +121,8 @@ else $_SESSION['name'] = $myname; $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);