diff options
Diffstat (limited to 'apps/contacts/ajax')
-rw-r--r-- | apps/contacts/ajax/addressbook/add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/addressbook/add.php b/apps/contacts/ajax/addressbook/add.php index 617c2fd1822..65077743ed5 100644 --- a/apps/contacts/ajax/addressbook/add.php +++ b/apps/contacts/ajax/addressbook/add.php @@ -34,4 +34,4 @@ if(!OC_Contacts_Addressbook::setActive($bookid, 1)) { bailOut('Error activating addressbook.'); } $addressbook = OC_Contacts_App::getAddressbook($bookid); -OCP\JSON::success(array('addressbook' => $addressbook)); +OCP\JSON::success(array('data' => array('addressbook' => $addressbook))); |