mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix geolocation fails for some contacts
This commit is contained in:
parent
b3bbb83ab6
commit
cd64de5aad
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user