Permalink
Browse files

Fix for holiday calendar showing and highlighting the wrong month. Fi…

…xes Mantis 1918.
  • Loading branch information...
ericthefish committed Jul 4, 2017
1 parent 90c1e6b commit f4f430ac2f4b403f0c429e31882280b3a117a8cd
Showing with 2 additions and 2 deletions.
  1. +2 −2 calendar/calendar.inc.php
@@ -63,7 +63,7 @@ function draw_calendar($nmonth, $nyear)
}
while ($monthTest != $monthOrig);
$monthName = ldate('F', mktime(0, 0, 0, $nmonth, 1, $nyear));
$monthName = ldate('F', mktime(12, 0, 0, $nmonth, 1, $nyear));
if ($CONFIG['debug'])
{
@@ -891,4 +891,4 @@ function book_days_when_free($name, $description, $user, $startdate, $days, $doi
return $daysarray;
}
?>
?>

0 comments on commit f4f430a

Please sign in to comment.