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:
defacer 2006-01-15 01:44:08 +00:00
parent 57e7a07902
commit 3ce130eac5

View File

@ -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);
}