Ticket #9248: Respect html compose pref when forwarding message as attachment
authorGonçalo Queirós <goncalo.queiros@portugalmail.net>
Fri, 10 Sep 2010 15:04:46 +0000 (16:04 +0100)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 10 Sep 2010 18:00:47 +0000 (12:00 -0600)
imp/lib/Compose.php

index 65e3636..421222d 100644 (file)
@@ -1628,7 +1628,7 @@ class IMP_Compose
             $ret = array(
                 'body' => '',
                 'encoding' => '',
-                'format' => 'text'
+                'format' => $GLOBALS['prefs']->getValue('compose_html') ? 'html' : 'text'
             );
         }