fix run_query

This commit is contained in:
Alexey Shpakovsky 2021-05-30 16:40:03 +02:00
parent f18cad70c2
commit 0199f585df
No known key found for this signature in database
GPG key ID: 5797A726A2A4230A

View file

@ -95,6 +95,7 @@ class abook_carddav extends addressbook_backend {
* * or array of addresses (arrays) * * or array of addresses (arrays)
*/ */
function run_query($query, $match_all=false, $limit=0) { function run_query($query, $match_all=false, $limit=0) {
$ret = array();
// TODO: add nickname to list of fields if $this->writeable // TODO: add nickname to list of fields if $this->writeable
$all=$this->abook->query($query,["FN", "N", "EMAIL", "ORG"],$match_all,$limit); $all=$this->abook->query($query,["FN", "N", "EMAIL", "ORG"],$match_all,$limit);
/* /*