From ea72131677da03d6287fe826838231be356e4607 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 17 Jun 2013 18:39:19 +0000 Subject: [PATCH] findAddress() can return FALSE as well as zero git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14373 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index 88a8c29f..b3511fc6 100644 --- a/src/compose.php +++ b/src/compose.php @@ -893,7 +893,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se } $identity_match = $orig_header->findAddress($identities); - if ($identity_match) { + if ($identity_match !== FALSE) { $identity = $identity_match; } } -- 2.25.1