mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-13 15:08:33 +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')
|
if ($field['type'] == 'select-account')
|
||||||
{
|
{
|
||||||
$record_name = '#'.$name;
|
$record_name = '#'.$name;
|
||||||
$info += $this->contact_replacements(
|
$account = $GLOBALS['egw']->accounts->read($record->$record_name);
|
||||||
array('account_id' => $record->$record_name),
|
$info += $this->contact_replacements($account['person_id'],
|
||||||
($prefix ? $prefix . '/' : '')."#$name"
|
($prefix ? $prefix . '/' : '')."#$name"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user