diff --git a/lib/controller/addressbookcontroller.php b/lib/controller/addressbookcontroller.php index 5eedb9b6..35f4b9a1 100644 --- a/lib/controller/addressbookcontroller.php +++ b/lib/controller/addressbookcontroller.php @@ -130,7 +130,7 @@ class AddressBookController extends BaseController { $response->bailOut(App::$l10n->t('Error creating contact.')); } $contact = $addressBook->getChild($id); - $response->setParams(Utils\JSONSerializer::serializeContact($contact)); + $response->setParams(JSONSerializer::serializeContact($contact)); return $response; }