Permalink
Browse files

Make sure to only send the text version of the email if MIME HTML ema…

…ils are disabled. Fixes issue #309
  • Loading branch information...
1 parent 460b067 commit bc422ba3b764bae6af3da1c7270c75d4a5b19043 @markkevans markkevans committed Aug 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/admin/mail.php
View
@@ -44,7 +44,7 @@
if (EMAIL_USE_HTML == 'true') {
$mimemessage->add_html($message, $text);
} else {
- $mimemessage->add_text($message);
+ $mimemessage->add_text($text);
}
$mimemessage->build_message();

0 comments on commit bc422ba

Please sign in to comment.