mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
* Addressbook: lettersearch was not working for addressbooks in LDAP if PostgreSQL database was used (bug #2851)
wrong parsing of sql query to construct LDAP query
This commit is contained in:
parent
795db441ad
commit
1205036193
@ -767,7 +767,7 @@ class addressbook_ldap
|
||||
}
|
||||
}
|
||||
// filter for letter-search
|
||||
elseif (preg_match("/^([^ ]+) I?LIKE '(.*)%'$/",$value,$matches))
|
||||
elseif (preg_match("/^([^ ]+) ".preg_quote($GLOBALS['egw']->db->capabilities[egw_db::CAPABILITY_CASE_INSENSITIV_LIKE])." '(.*)%'$/",$value,$matches))
|
||||
{
|
||||
foreach($this->schema2egw as $mapping)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user