mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-49897' of https://github.com/rushi963/moodle
This commit is contained in:
commit
540394e1db
@ -68,10 +68,10 @@ if (!empty($day) && !empty($mon) && !empty($year)) {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user