mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Calendar - Fix bug exporting list to iCal with no end date gave empty file
This commit is contained in:
parent
5a7c65d0f7
commit
28781956fe
@ -38,7 +38,7 @@ class calendar_export_ical extends calendar_export_csv {
|
|||||||
{
|
{
|
||||||
$query = array(
|
$query = array(
|
||||||
'start' => $options['criteria']['start'],
|
'start' => $options['criteria']['start'],
|
||||||
'end' => strtotime('+1 day',$options['criteria']['end'])-1,
|
'end' => $options['criteria']['end'] ? strtotime('+1 day',$options['criteria']['end'])-1 : null,
|
||||||
'categories' => $options['categories'],
|
'categories' => $options['categories'],
|
||||||
'daywise' => false,
|
'daywise' => false,
|
||||||
'users' => $options['criteria']['owner'],
|
'users' => $options['criteria']['owner'],
|
||||||
|
Loading…
Reference in New Issue
Block a user