mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
When creating/editing events, it seems that the current/existing timestart
is not pre-filled in the forms. This is a regression, no idea how and when it happened. Investigating... First of all let's get rid of this "HACK! Don't use!" function...
This commit is contained in:
parent
57e7a07902
commit
3ce130eac5
@ -367,8 +367,6 @@
|
||||
break;
|
||||
|
||||
case 'new':
|
||||
set_default($form->timestart, -1);
|
||||
|
||||
if($cal_y && $cal_m && $cal_d && checkdate($cal_m, $cal_d, $cal_y)) {
|
||||
$form->timestart = make_timestamp($cal_y, $cal_m, $cal_d, 0, 0, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user