diff --git a/api/src/Contacts.php b/api/src/Contacts.php index e00889ee5d..6523438b94 100755 --- a/api/src/Contacts.php +++ b/api/src/Contacts.php @@ -1021,7 +1021,7 @@ class Contacts extends Contacts\Storage // invalidate the cache of the accounts class $GLOBALS['egw']->accounts->cache_invalidate($contact['account_id']); // call edit-accout hook, to let other apps know about changed account (names or email) - $GLOBALS['hook_values'] = $GLOBALS['egw']->accounts->read($contact['account_id']); + $GLOBALS['hook_values'] = (array)$GLOBALS['egw']->accounts->read($contact['account_id']); Hooks::process($GLOBALS['hook_values']+array( 'location' => 'editaccount', ),False,True); // called for every app now, not only enabled ones)