Force read contact to array

This commit is contained in:
nathangray 2019-03-21 12:37:00 -06:00
parent 9213a0c7a6
commit 729c33ddaf

View File

@ -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'],