Display account_fullname of event owner, creator, and participant in calendar customized link title

This commit is contained in:
Hadi Nategh 2014-10-30 12:26:42 +00:00
parent 0d1a1c3f4a
commit a9c6c2a90e

View File

@ -1885,13 +1885,13 @@ class calendar_bo
case 'participants':
foreach ($event[$val] as $key => $value)
{
$extra_fields [$val] = accounts::id2name($key);
$extra_fields [$val] = accounts::id2name($key, 'account_fullname');
}
break;
case 'modifier':
case 'creator':
case 'owner':
$extra_fields [$val] = accounts::id2name($event[$val]);
$extra_fields [$val] = accounts::id2name($event[$val], 'account_fullname');
break;
default:
$extra_fields [] = $event[$val];