From f39c3b83e45eabf6eda1396f5193583d8cff82bb Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 23 Aug 2023 09:39:16 -0600 Subject: [PATCH] Mail: Fix JS error selecting an account group that has an email address Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'find') at SearchMixin.ts:621:41 --- 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 bc4d59925d..2285f675b1 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3734,7 +3734,7 @@ class mail_compose $args[] = $name; $completeMailString = call_user_func_array('imap_rfc822_write_address', $args); $results[] = array( - 'id' => $completeMailString, + 'value' => $completeMailString, 'label' => $completeMailString, 'name' => $name, 'title' => $group['account_email']