From: Hypolite Petovan Date: Sat, 3 Dec 2022 00:36:57 +0000 (-0500) Subject: Fix description not being populated in event form when there's a validation error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b71b963d7ba2a5a61c0a4221cbed769f71e837c;p=friendica.git Fix description not being populated in event form when there's a validation error --- diff --git a/src/Module/Calendar/Event/API.php b/src/Module/Calendar/Event/API.php index 174c0b3afc..f8ddaf40bd 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;