mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
Calendar: Avoid error in link_title if participants is not an array
This commit is contained in:
parent
723308e525
commit
a1f87eb419
@ -2014,7 +2014,7 @@ class calendar_bo
|
||||
$extra_fields [$val] = $this->format_date($event[$val]);
|
||||
break;
|
||||
case 'participants':
|
||||
foreach (array_keys($event[$val]) as $key)
|
||||
foreach(array_keys((array)$event[$val]) as $key)
|
||||
{
|
||||
$extra_fields [$val] = Api\Accounts::id2name($key, 'account_fullname');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user