From c4412b5ed1a27e703d025a3490e9b8e692ea61f5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 24 Aug 2022 14:57:07 +0200 Subject: [PATCH] Fix not working geolocation in addressbook --- addressbook/js/app.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/addressbook/js/app.ts b/addressbook/js/app.ts index a8d6ac81bf..cb4fc8d3d8 100644 --- a/addressbook/js/app.ts +++ b/addressbook/js/app.ts @@ -1460,7 +1460,6 @@ class AddressbookApp extends EgwApp // defined in addressbook_hooks::config var default_url = 'https://maps.here.com/directions/drive{{%rs=/%rs}}%r0,%t0,%z0,%c0{{%d=/%d}}%r1,%t1,%z1+%c1'; var geo_url = egw.config('geolocation_url'); - if (geo_url) geo_url = geo_url[0]; return geo_url || default_url; }