mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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
8c6341d551
commit
6c6259525a
@ -1679,7 +1679,8 @@ function replace_eTemplate_onsubmit()
|
|||||||
foreach($event['participants'] as $uid => $status)
|
foreach($event['participants'] as $uid => $status)
|
||||||
{
|
{
|
||||||
calendar_so::split_user($uid, $user_type, $user_id);
|
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));
|
//error_log(__METHOD__."(...) parsed as ".array2string($event));
|
||||||
|
Loading…
Reference in New Issue
Block a user