mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fix status="X" (no status set) returned by calendar_ical::ical2egw to "U" (unknown status), as participants with status "X" are not displayed
This commit is contained in:
parent
9d6bce8ed2
commit
5200c51053
@ -1679,7 +1679,8 @@ function replace_eTemplate_onsubmit()
|
||||
foreach($event['participants'] as $uid => $status)
|
||||
{
|
||||
calendar_so::split_user($uid, $user_type, $user_id);
|
||||
$event['participant_types'][$user_type][$user_id] = $status;
|
||||
$event['participants'][$uid] = $event['participant_types'][$user_type][$user_id] =
|
||||
$status && $status !== 'X' ? $status : 'U'; // X --> no status given --> U = unknown
|
||||
}
|
||||
}
|
||||
//error_log(__METHOD__."(...) parsed as ".array2string($event));
|
||||
|
Loading…
Reference in New Issue
Block a user