mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Don't include events without a start time in iCal export (fixes #1625)
This commit is contained in:
parent
e0735ce2e4
commit
04d826943c
|
|
@ -1,6 +1,7 @@
|
|||
- Fixed that the "Add all list items to stock" shopping list workflow did not work for more than ~6 items (thanks @tjhowse)
|
||||
- Fixed that plural form handling (e.g. for quantity units) was wrong for negative numbers
|
||||
- Fixed that the context menu entries Consume and Transfer on the stock overview page were disabled when the amount in stock was < 1
|
||||
- Fixed that when there was any chore with a schedule, but without a "next estimated tracking" date/time, the iCal export was broken
|
||||
- The product and chore edit pages now have bottom-sticky save buttons
|
||||
- A product picture can now be added when creating a product (was currently only possible when editing a product)
|
||||
|
||||
|
|
|
|||
|
|
@ -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']))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user