projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
findAddress() can return FALSE as well as zero
[squirrelmail.git]
/
src
/
compose.php
diff --git
a/src/compose.php
b/src/compose.php
index 88a8c29f98cd5f3a45015f122624cf6252e0900f..b3511fc6784e7e78050a970ef13a34386a311188 100644
(file)
--- 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;
}
}