projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed holidays display for subgroups.
[timetracker.git]
/
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
6c4a422
..
a8455a8
100644
(file)
--- a/
WEB-INF/lib/form/Calendar.class.php
+++ b/
WEB-INF/lib/form/Calendar.class.php
@@
-172,9
+172,8
@@
class Calendar extends FormElement {
}
// holidays
- //if ($this->showHolidays) {
global $user;
- if ($user->
show_holidays
) {
+ if ($user->
isOptionEnabled('show_holidays')
) {
foreach ($this->holidays as $day) {
if($day == $date) {
$stl_cell = ' class="CalendarDayHoliday"';