Fix description not being populated in event form when there's a validation error
This commit is contained in:
parent
04450bbbd4
commit
1b71b963d7
|
@ -170,12 +170,12 @@ class API extends BaseModule
|
||||||
$type = 'event';
|
$type = 'event';
|
||||||
|
|
||||||
$params = [
|
$params = [
|
||||||
'summary' => $summary,
|
'summary' => $summary,
|
||||||
'description' => $desc,
|
'desc' => $desc,
|
||||||
'location' => $location,
|
'location' => $location,
|
||||||
'start' => $strStartDateTime,
|
'start' => $strStartDateTime,
|
||||||
'finish' => $strFinishDateTime,
|
'finish' => $strFinishDateTime,
|
||||||
'nofinish' => $noFinish,
|
'nofinish' => $noFinish,
|
||||||
];
|
];
|
||||||
|
|
||||||
$action = empty($eventId) ? 'new' : 'edit/' . $eventId;
|
$action = empty($eventId) ? 'new' : 'edit/' . $eventId;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user