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:
Klaus Leithoff 2009-09-23 12:14:28 +00:00
parent 6fb5c51994
commit 9f7c273474

View File

@ -602,7 +602,7 @@ 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)
if (get_class($backend) == 'addressbook_sql' && $this->customfields)
{
$cols[] = $this->extra_value;
}