forked from extern/egroupware
Calendar - Fix bug exporting list to iCal with no end date gave empty file
This commit is contained in:
parent
2e9089357f
commit
9587f35164
@ -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