mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Force read contact to array
This commit is contained in:
parent
9213a0c7a6
commit
729c33ddaf
@ -644,7 +644,7 @@ class Accounts
|
||||
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
|
||||
|
||||
// Include previous contact information to avoid blank history rows
|
||||
$contact = $GLOBALS['egw']->contacts->read($data['person_id']) + array(
|
||||
$contact = (array)$GLOBALS['egw']->contacts->read($data['person_id']) + array(
|
||||
'n_given' => $data['account_firstname'],
|
||||
'n_family' => $data['account_lastname'],
|
||||
'email' => $data['account_email'],
|
||||
|
Loading…
Reference in New Issue
Block a user