X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/62e316ec456ef2a98acee48dad2f305e7fb0c4b0..8f7f616dc5fafe49038c6eaff25f6fe6f55ca635:/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 1340c987..555b6e14 100644 --- a/WEB-INF/lib/form/Calendar.class.php +++ b/WEB-INF/lib/form/Calendar.class.php @@ -172,7 +172,9 @@ class Calendar extends FormElement { } // holidays - if ($this->showHolidays) { + //if ($this->showHolidays) { + global $user; + if ($user->show_holidays) { foreach ($this->holidays as $day) { if($day == $date) { $stl_cell = ' class="CalendarDayHoliday"';