forked from extern/egroupware
enable search in extra colums, as it was broken since get_class() returns addressbook_sql for Addresses stored in SQL instead of socontacts_sql
This commit is contained in:
parent
bbe301095e
commit
20da79db8a
@ -602,7 +602,8 @@ class addressbook_so
|
||||
$cols = $this->account_cols_to_search;
|
||||
}
|
||||
// search the customfields only if some exist, but only for sql!
|
||||
if (get_class($backend) == 'socontacts_sql' && $this->customfields)
|
||||
$classBackend = get_class($backend);
|
||||
if (($classBackend == 'socontacts_sql' || $classBackend == 'addressbook_sql') && $this->customfields)
|
||||
{
|
||||
$cols[] = $this->extra_value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user