forked from extern/egroupware
fixed new unlimited recuring events get not synced (range_end == 0 instead of NULL)
This commit is contained in:
parent
e56aa30134
commit
f3ae8cec81
@ -1051,7 +1051,8 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
}
|
||||
// set range_start/_end
|
||||
$event['range_start'] = $event['cal_start'];
|
||||
$event['range_end'] = $event['recur_type'] == MCAL_RECUR_NONE ? $event['cal_end'] : $event['recur_enddate'];
|
||||
$event['range_end'] = $event['recur_type'] == MCAL_RECUR_NONE ? $event['cal_end'] :
|
||||
($event['recur_enddate'] ? $event['recur_enddate'] : null);
|
||||
|
||||
// ensure that we find mathing entries later on
|
||||
if (!is_array($event['cal_category']))
|
||||
|
Loading…
Reference in New Issue
Block a user