summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-28 14:24:32 +0000
committeralecpl <alec@alec.pl>2010-08-28 14:24:32 +0000
commit38d9304a00231135cbe5e4e771940d8b955ad140 (patch)
tree71638b7e887b3beacf3be03da3ac91a8faa23f7d /program/steps/mail
parent736790f62593fda97879946296be2f85f97e3d28 (diff)
- Remove unused check
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 96b21c439..ee33e9c1e 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1022,8 +1022,7 @@ function rcmail_message_body($attrib)
// list images after mail body
if ($CONFIG['inline_images']
&& $ctype_primary == 'multipart'
- && !empty($MESSAGE->attachments)
- && !strstr($message_body, '<html'))
+ && !empty($MESSAGE->attachments))
{
foreach ($MESSAGE->attachments as $attach_prop) {
if (strpos($attach_prop->mimetype, 'image/') === 0) {