X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/765181f88bd61e74e2836d1ede6465945e2226cf..a32d1441bb4b6e2cf58467f14c20f67ef0cf50c7:/WEB-INF/lib/I18n.class.php diff --git a/WEB-INF/lib/I18n.class.php b/WEB-INF/lib/I18n.class.php index a9f1b434..fd158f58 100644 --- a/WEB-INF/lib/I18n.class.php +++ b/WEB-INF/lib/I18n.class.php @@ -54,7 +54,7 @@ class I18n { // TODO: refactoring ongoing down from here... function getWeekDayName($id) { - $id = intval($id); + $id = (int) $id; return $this->weekdayNames[$id]; }