mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-26 07:49:28 +01:00
Fix case sensitive search on email when linking
This commit is contained in:
parent
e8852dc8f3
commit
0917e21707
@ -1448,7 +1448,7 @@ class addressbook_bo extends addressbook_so
|
|||||||
$options['filter'] = (array)$options['filter'];
|
$options['filter'] = (array)$options['filter'];
|
||||||
}
|
}
|
||||||
// return only contacts with email set
|
// return only contacts with email set
|
||||||
$options['filter'][] = "contact_email LIKE '%@%'";
|
$options['filter'][] = "contact_email ".$this->db->capabilities[egw_db::CAPABILITY_CASE_INSENSITIV_LIKE]." '%@%'";
|
||||||
|
|
||||||
// let link query know, to append email to list
|
// let link query know, to append email to list
|
||||||
$options['type'] = 'email';
|
$options['type'] = 'email';
|
||||||
|
Loading…
Reference in New Issue
Block a user