mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 11:21:23 +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'];
|
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
|
||||||
|
|
||||||
// Include previous contact information to avoid blank history rows
|
// 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_given' => $data['account_firstname'],
|
||||||
'n_family' => $data['account_lastname'],
|
'n_family' => $data['account_lastname'],
|
||||||
'email' => $data['account_email'],
|
'email' => $data['account_email'],
|
||||||
|
Loading…
Reference in New Issue
Block a user