Skip to content

Commit

Permalink
MDL-49897 Calendar : Calendar day view showing past events
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi963 committed Mar 1, 2016
1 parent 2f45a11 commit f68d8a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
if (checkdate($mon, $day, $year)) {
$time = make_timestamp($year, $mon, $day);
} else {
$time = time();
$time = mktime(0, 0, 0);
}
} else if (empty($time)) {
$time = time();
$time = mktime(0, 0, 0);
}

$url->param('time', $time);
Expand Down

0 comments on commit f68d8a4

Please sign in to comment.