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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user