"fixed not working letter-search filter if DB is postgres, thanks to Larquère Laurent <llarquere(at)aacom.fr>"

This commit is contained in:
Ralf Becker 2008-08-12 13:06:51 +00:00
parent 7888b3f616
commit b491fe8312

View File

@ -769,7 +769,7 @@ class addressbook_ldap
}
}
// filter for letter-search
elseif (preg_match("/^([^ ]+) LIKE '(.*)%'$/",$value,$matches))
elseif (preg_match("/^([^ ]+) I?LIKE '(.*)%'$/",$value,$matches))
{
foreach($this->schema2egw as $mapping)
{