From 1b71b963d7ba2a5a61c0a4221cbed769f71e837c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 2 Dec 2022 19:36:57 -0500 Subject: [PATCH] Fix description not being populated in event form when there's a validation error --- src/Module/Calendar/Event/API.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Module/Calendar/Event/API.php b/src/Module/Calendar/Event/API.php index 174c0b3af..f8ddaf40b 100644 --- a/src/Module/Calendar/Event/API.php +++ b/src/Module/Calendar/Event/API.php @@ -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;