Fix lists always showing in To field, not filtered properly.

This commit is contained in:
Nathan Gray 2014-02-07 15:11:46 +00:00
parent 08e01e54cf
commit 8af9b45e13

View File

@ -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;