mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
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(
|
||||
'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'],
|
||||
'daywise' => false,
|
||||
'users' => $options['criteria']['owner'],
|
||||
|
Loading…
Reference in New Issue
Block a user