Fix tab button wouldn't leave mail compose's to: field

This commit is contained in:
nathan 2022-11-15 10:37:13 -07:00
parent 89f5daa310
commit b1d75209db

View File

@ -3616,7 +3616,7 @@ class mail_compose
explode(',', $mailPrefs['contactLabel']) : $mailPrefs['contactLabel'];
// Add some matching mailing lists, and some groups, limited by config
if($include_lists)
if($include_lists && strlen($_searchString) >= $_searchStringLength)
{
$results += static::get_lists($_searchString, $contacts_obj);
}