]> git.mxchange.org Git - friendica.git/commitdiff
Fix description not being populated in event form when there's a validation error
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 3 Dec 2022 00:36:57 +0000 (19:36 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 4 Dec 2022 11:37:36 +0000 (06:37 -0500)
src/Module/Calendar/Event/API.php

index 174c0b3afce95d7f4c7f0c88182d2913af6758ed..f8ddaf40bd14e9e429ec7bf3352c73a902b83cda 100644 (file)
@@ -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;