mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Don't include events without a start time in iCal export (fixes #1625)
This commit is contained in:
@@ -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 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 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 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
|
- 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)
|
- 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();
|
$vCalendar = new Calendar();
|
||||||
foreach ($events as $event)
|
foreach ($events as $event)
|
||||||
{
|
{
|
||||||
|
if (!isset($event['start']))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$description = '';
|
$description = '';
|
||||||
if (isset($event['description']))
|
if (isset($event['description']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user