]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/I18n.class.php
Replaced intval() calls with a faster cast to int.
[timetracker.git] / WEB-INF / lib / I18n.class.php
index a9f1b43494c3fae36eae4f85071589552ed9090c..fd158f58c778324ecb39678fa7896c3c5b469282 100644 (file)
@@ -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];
     }