mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02: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
|
* 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)
|
function ajax_get_contact ($account_id)
|
||||||
{
|
{
|
||||||
$bo = new Api\Contacts();
|
$bo = new Api\Contacts();
|
||||||
$contact = $bo->read('account:'.$account_id[0]);
|
$contact = $bo->read('account:'.$account_id);
|
||||||
Api\Json\Response::get()->data($contact);
|
Api\Json\Response::get()->data($contact);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user