mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix loading of account contact info placeholders
This commit is contained in:
parent
efa51c09b7
commit
e8770a9611
@ -106,8 +106,8 @@ class infolog_merge extends bo_merge
|
||||
if ($field['type'] == 'select-account')
|
||||
{
|
||||
$record_name = '#'.$name;
|
||||
$info += $this->contact_replacements(
|
||||
array('account_id' => $record->$record_name),
|
||||
$account = $GLOBALS['egw']->accounts->read($record->$record_name);
|
||||
$info += $this->contact_replacements($account['person_id'],
|
||||
($prefix ? $prefix . '/' : '')."#$name"
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user