projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced intval() calls with a faster cast to int.
[timetracker.git]
/
WEB-INF
/
lib
/
I18n.class.php
diff --git
a/WEB-INF/lib/I18n.class.php
b/WEB-INF/lib/I18n.class.php
index
a9f1b43
..
fd158f5
100644
(file)
--- 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];
}