diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-14 12:10:40 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-14 12:10:40 +0100 |
commit | 5c26bd49b10a2666df9e4853b0740038b0cc3b88 (patch) | |
tree | e094e3febb0d131fda2c805bebd53b0b97eb5889 /program/steps | |
parent | daddbf2555f48047ae600e5db454d02b287e2c64 (diff) |
Added rcube_message::has_text_part(), simplified has_html_part() so it always
works in "recursive mode" - removed $recursive argument.
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index d7cfe7ddd..dd6a1d88c 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -539,7 +539,7 @@ function rcmail_compose_editor_mode() function rcmail_message_is_html() { global $MESSAGE; - return ($MESSAGE instanceof rcube_message) && $MESSAGE->has_html_part(false, true); + return ($MESSAGE instanceof rcube_message) && $MESSAGE->has_html_part(true); } function rcmail_prepare_message_body() |