From e8770a961153d1874834c71e70cf655dfb08c97f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 5 Jun 2013 14:44:10 +0000 Subject: [PATCH] Fix loading of account contact info placeholders --- infolog/inc/class.infolog_merge.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_merge.inc.php b/infolog/inc/class.infolog_merge.inc.php index 2ccaecd424..ff9db179cc 100644 --- a/infolog/inc/class.infolog_merge.inc.php +++ b/infolog/inc/class.infolog_merge.inc.php @@ -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" ); }