Fix search in all fields of the Kolab address book
This commit is contained in:
parent
912593b9b8
commit
ee2ae29feb
1 changed files with 4 additions and 1 deletions
|
@ -244,7 +244,10 @@ class rcube_kolab_contacts extends rcube_addressbook
|
|||
if ($fields == $this->primary_key) {
|
||||
return $this->get_record($value);
|
||||
}
|
||||
|
||||
else if ($fields == '*') {
|
||||
$fields = array_keys($this->coltypes);
|
||||
}
|
||||
|
||||
$value = strtolower($value);
|
||||
if (!is_array($fields))
|
||||
$fields = array($fields);
|
||||
|
|
Loading…
Add table
Reference in a new issue