X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Fpreferences.php;h=990626a264172873c7720a57aa92e45c263585e5;hp=a20913a420901219e3928b8cf7f2909e332a0607;hb=106c90b95129be78b2763553c72e3aa131f5ee4b;hpb=14f6017a5b84d70320bde9d6e074ea8ac948a85e diff --git a/include/preferences.php b/include/preferences.php index a20913a..990626a 100644 --- a/include/preferences.php +++ b/include/preferences.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Arun Persaud * * This file is part of e-DoKo. * @@ -51,6 +51,7 @@ display_user_menu($myid); $PREF = DB_get_PREF($myid); /* set language chosen in preferences, will become active on the next reload (see index.php)*/ $_SESSION['language'] = $PREF['language']; +set_language($PREF['language']); $timezone = DB_get_user_timezone($myid); DB_update_user_timestamp($myid);