X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cd5e077ecb497431decde4835138b877d63b261c..1b74bf5bac7eb20285f7020f14b26e56f33df6c8:/WEB-INF/lib/form/Calendar.class.php diff --git a/WEB-INF/lib/form/Calendar.class.php b/WEB-INF/lib/form/Calendar.class.php index ab2dcf57..1340c987 100644 --- a/WEB-INF/lib/form/Calendar.class.php +++ b/WEB-INF/lib/form/Calendar.class.php @@ -57,8 +57,9 @@ class Calendar extends FormElement { $this->highlight = $highlight; } - function localize($i18n) { + function localize() { global $user; + global $i18n; $this->mMonthNames = $i18n->monthNames; $this->mWeekDayShortNames = $i18n->weekdayShortNames;