From b1d75209db1eee21ef12b09855a6de216dd5b918 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 15 Nov 2022 10:37:13 -0700 Subject: [PATCH] Fix tab button wouldn't leave mail compose's to: field --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index b1f997b489..ccfadde814 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -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); }