From d7d9048058d8f9cca078a9772677c521be18284f Mon Sep 17 00:00:00 2001 From: Alexey Shpakovsky Date: Sun, 30 May 2021 17:33:30 +0200 Subject: [PATCH] Revert "add note" This reverts commit 6cfb406b373a3425acb01f59e3a4163ac7dd97a6. --- abook_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abook_class.php b/abook_class.php index 4b11475..a02f2cf 100755 --- a/abook_class.php +++ b/abook_class.php @@ -69,7 +69,7 @@ class abook_carddav extends addressbook_backend { $label = (string)$vcard->ORG; } else { $nickname = (string)$vcard->ORG; - $label = (string)$vcard->NOTE; + $label = ''; } if(!$email) { $email = (string)$vcard->EMAIL; @@ -103,7 +103,7 @@ class abook_carddav extends addressbook_backend { */ function run_query($query, $match_all=false, $limit=0) { $ret = array(); - $all=$this->abook->query($query,["FN", "N", "EMAIL", "ORG", "NOTE"],$match_all,$limit); + $all=$this->abook->query($query,["FN", "N", "EMAIL", "ORG"],$match_all,$limit); /* Returns an array of matched VCards: The keys of the array are the URIs of the vcards