mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 01:48:01 +02:00
* CalDAV: fixed group-invitations got lost (urn:uuid url lost one char with each new import)
This commit is contained in:
parent
21989aa249
commit
f99e4f276a
@ -464,7 +464,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
{
|
{
|
||||||
case 'g':
|
case 'g':
|
||||||
$cutype = 'GROUP';
|
$cutype = 'GROUP';
|
||||||
$participantURL = 'urn:uuid:'.common::generate_uid('accounts', substr($uid, 1));
|
$participantURL = 'urn:uuid:'.common::generate_uid('accounts', $uid);
|
||||||
$members = $GLOBALS['egw']->accounts->members($uid, true);
|
$members = $GLOBALS['egw']->accounts->members($uid, true);
|
||||||
if (!isset($event['participants'][$this->user]) && in_array($this->user, $members))
|
if (!isset($event['participants'][$this->user]) && in_array($this->user, $members))
|
||||||
{
|
{
|
||||||
@ -496,7 +496,7 @@ class calendar_ical extends calendar_boupdate
|
|||||||
default:
|
default:
|
||||||
$cutype = 'UNKNOWN';
|
$cutype = 'UNKNOWN';
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
// generate urn:uuid, if we have no other participant URL
|
// generate urn:uuid, if we have no other participant URL
|
||||||
if (empty($participantURL) && $info && $info['app'])
|
if (empty($participantURL) && $info && $info['app'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user