Browse Source

fix for broken draft. Patch by Ryan O'Neill

stekkel 23 years ago
parent
commit
cd37662726
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -52,7 +52,7 @@ if (isset($draft)) {
     if (! isset($MDN)) {
     if (! isset($MDN)) {
         $MDN = 'False';
         $MDN = 'False';
     }
     }
-    if (!saveMessageAsDraft($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id, $MDN)) {
+    if (!saveMessageAsDraft($send_to, $send_to_cc, $send_to_bcc, $subject, $body, $reply_id, $MDN, $session)) {
         showInputForm($session);
         showInputForm($session);
         exit();
         exit();
     } else {
     } else {