fix error when language is not set
[e-DoKo.git] / include / reminder.php
index 9d10b9568ec786b957fcf17febdcd2c3fc57ab9a..8c96ea85bff532e23aed7a29b9187f8dedff684b 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Arun Persaud <arun@nubati.net>
  *
  *   This file is part of e-DoKo.
  *
@@ -18,7 +18,7 @@
  *
  */
 
-/* make sure that we are not called from outside the scripts, 
+/* make sure that we are not called from outside the scripts,
  * use a variable defined in config.php to check this
  */
 if(!isset($HOST))
@@ -42,6 +42,7 @@ if(!$myid)
   }
 
 DB_update_user_timestamp($myid);
+set_language($myid,'uid');
 
 /* get some information from the DB */
 $gameid   = DB_get_gameid_by_hash($me);