From cd64de5aad0ab324f601eef28f7ab91cf9575df7 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 1 Jun 2016 09:55:57 +0200 Subject: [PATCH] Fix geolocation fails for some contacts --- addressbook/inc/class.addressbook_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index d110933507..95b3952f08 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1008,12 +1008,12 @@ window.egw_LAB.wait(function() { /** * Ajax function to get contact data out of provided account_id * - * @param type $account_id + * @param string $account_id */ function ajax_get_contact ($account_id) { $bo = new Api\Contacts(); - $contact = $bo->read('account:'.$account_id[0]); + $contact = $bo->read('account:'.$account_id); Api\Json\Response::get()->data($contact); }