Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/maps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2020-11-21 03:10:26 +0300
committerJulien Veyssier <eneiluj@posteo.net>2021-07-06 13:43:16 +0300
commit9b44266d6976cbeb856c92f0fcc443dac641442c (patch)
tree459dde65c457549a90e3390d377d204903536d85 /lib
parent4a28c552b6b397e030d573be0aa52fd5449abb2e (diff)
handle click on cluster
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/ContactsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ContactsController.php b/lib/Controller/ContactsController.php
index a52e43a9..8483122c 100644
--- a/lib/Controller/ContactsController.php
+++ b/lib/Controller/ContactsController.php
@@ -88,7 +88,7 @@ class ContactsController extends Controller {
$card = $this->cdBackend->getContact($c['addressbook-key'], $c['URI']);
if ($card) {
$vcard = Reader::read($card['carddata']);
- if (isset($vcard->ADR) and count($vcard->ADR) > 0) {
+ if (isset($vcard->ADR) && count($vcard->ADR) > 0) {
foreach ($vcard->ADR as $adr) {
$geo = $this->addressService->addressToGeo($adr->getValue(), $c['URI']);
//var_dump($adr->parameters()['TYPE']->getValue());