Fix adding body text to forward.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 05:18:58 +0000 (22:18 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 07:46:02 +0000 (00:46 -0700)
Don't check for locked forward_default pref in forwardMessage(). It
prevents us from adding body text in dimp. A locked preference here
only means not to show the list of forward choices.

imp/lib/Compose.php

index c2fa9e5..8df4378 100644 (file)
@@ -1534,8 +1534,7 @@ class IMP_Compose
             'subject' => ''
         );
 
-        if ($GLOBALS['prefs']->isLocked('forward_default') ||
-            ($type == 'forward_auto')) {
+        if ($type == 'forward_auto') {
             if (!($type = $GLOBALS['prefs']->getValue('forward_default'))) {
                 $type = 'attach';
             }