mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +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(
|
||||
$GLOBALS['egw']->contacts->get_lists(EGW_ACL_READ),
|
||||
function($element) use($_searchString) {
|
||||
return (stripos($element, $_searchString) >= 0);
|
||||
return (stripos($element, $_searchString) !== false);
|
||||
}
|
||||
);
|
||||
$list_count = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user