summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 96391c88b..908de950e 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -454,7 +454,7 @@ function rcmail_identity_select($MESSAGE, $identities, $compose_mode)
// Fallback using Delivered-To
if ($from_idx === null && ($delivered_to = $MESSAGE->headers->others['delivered-to'])) {
foreach ($identities as $idx => $ident) {
- if (in_array($ident['email_ascii'], $delivered_to)) {
+ if (in_array($ident['email_ascii'], (array)$delivered_to)) {
$from_idx = $idx;
break;
}