Fix description not being populated in event form when there's a validation error
This commit is contained in:
parent
04450bbbd4
commit
1b71b963d7
1 changed files with 6 additions and 6 deletions
|
@ -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 a new issue