mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +01:00
Fix empty EXDATE issue
This commit is contained in:
parent
d889e92774
commit
6bf3be83fc
@ -1748,7 +1748,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
case 'W':
|
case 'W':
|
||||||
case 'WEEKLY':
|
case 'WEEKLY':
|
||||||
$days = array();
|
$days = array();
|
||||||
if (preg_match('/W(\d+)((?i: [AEFMORSTUW]*)+)?( +([^ ]*))$/',$recurence, $recurenceMatches)) // 1.0
|
if (preg_match('/W(\d+)((?i: [AEFHMORSTUW]*)+)?( +([^ ]*))$/',$recurence, $recurenceMatches)) // 1.0
|
||||||
{
|
{
|
||||||
$vcardData['recur_interval'] = $recurenceMatches[1];
|
$vcardData['recur_interval'] = $recurenceMatches[1];
|
||||||
if (empty($recurenceMatches[2]))
|
if (empty($recurenceMatches[2]))
|
||||||
@ -1959,6 +1959,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'EXDATE':
|
case 'EXDATE':
|
||||||
|
if (!$attributes['value']) break;
|
||||||
if ((isset($attributes['params']['VALUE'])
|
if ((isset($attributes['params']['VALUE'])
|
||||||
&& $attributes['params']['VALUE'] == 'DATE') ||
|
&& $attributes['params']['VALUE'] == 'DATE') ||
|
||||||
(!isset($attributes['params']['VALUE']) && $isDate))
|
(!isset($attributes['params']['VALUE']) && $isDate))
|
||||||
|
Loading…
Reference in New Issue
Block a user