mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 19:37:12 +00:00
Don't include events without a start time in iCal export (fixes #1625)
This commit is contained in:
@@ -21,6 +21,11 @@ class CalendarApiController extends BaseApiController
|
||||
$vCalendar = new Calendar();
|
||||
foreach ($events as $event)
|
||||
{
|
||||
if (!isset($event['start']))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$description = '';
|
||||
if (isset($event['description']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user