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';
|
||||
|
||||
$params = [
|
||||
'summary' => $summary,
|
||||
'description' => $desc,
|
||||
'location' => $location,
|
||||
'start' => $strStartDateTime,
|
||||
'finish' => $strFinishDateTime,
|
||||
'nofinish' => $noFinish,
|
||||
'summary' => $summary,
|
||||
'desc' => $desc,
|
||||
'location' => $location,
|
||||
'start' => $strStartDateTime,
|
||||
'finish' => $strFinishDateTime,
|
||||
'nofinish' => $noFinish,
|
||||
];
|
||||
|
||||
$action = empty($eventId) ? 'new' : 'edit/' . $eventId;
|
||||
|
|
Loading…
Reference in a new issue