"fixed bug reported by Peter Goerzen: UID was not exported (which caused some automatic uid-generation in horde to kick in and messes up CalDAV/GroupDAV)"

This commit is contained in:
Ralf Becker 2008-11-17 16:31:59 +00:00
parent d4a01c41f3
commit fbf5586ce3

View File

@ -439,7 +439,7 @@ class calendar_ical extends calendar_boupdate
}
}
//$attributes['UID'] = $event['uid'];
$attributes['UID'] = $event['uid'];
foreach($attributes as $key => $value)
{
foreach(is_array($value)&&$parameters[$key]['VALUE']!='DATE' ? $value : array($value) as $valueID => $valueData)
@ -489,7 +489,7 @@ class calendar_ical extends calendar_boupdate
}
$version = $vcal->getAttribute('VERSION');
if(!is_array($this->supportedFields))
{
$this->setSupportedFields();
@ -1408,7 +1408,7 @@ class calendar_ical extends calendar_boupdate
{
error_log ("unset weak uid");
unset ($event['uid']);
}
}
break;
case 'TRANSP':
$vcardData['non_blocking'] = $attributes['value'] == 'TRANSPARENT';