mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-02 12:54:18 +01:00
Fix lists always showing in To field, not filtered properly.
This commit is contained in:
parent
08e01e54cf
commit
8af9b45e13
@ -3002,7 +3002,7 @@ class mail_compose
|
|||||||
$lists = array_filter(
|
$lists = array_filter(
|
||||||
$GLOBALS['egw']->contacts->get_lists(EGW_ACL_READ),
|
$GLOBALS['egw']->contacts->get_lists(EGW_ACL_READ),
|
||||||
function($element) use($_searchString) {
|
function($element) use($_searchString) {
|
||||||
return (stripos($element, $_searchString) >= 0);
|
return (stripos($element, $_searchString) !== false);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
$list_count = 0;
|
$list_count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user