alecpl
2009-12-11 2717f9f68e74277379c065d32bd0771976e49c86
program/steps/mail/compose.inc
@@ -444,13 +444,12 @@
    // load draft message body
    else if ($compose_mode == RCUBE_COMPOSE_DRAFT || $compose_mode == RCUBE_COMPOSE_EDIT)
      $body = rcmail_create_draft_body($body, $isHtml);
    $plugin = $RCMAIL->plugins->exec_hook('message_compose_body',
      array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode));
    $body = $plugin['body'];
  }
  $plugin = $RCMAIL->plugins->exec_hook('message_compose_body',
    array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode));
  $body = $plugin['body'];
  $out = $form_start ? "$form_start\n" : '';
  $saveid = new html_hiddenfield(array('name' => '_draft_saveid', 'value' => $compose_mode==RCUBE_COMPOSE_DRAFT ? str_replace(array('<','>'), "", $MESSAGE->headers->messageID) : ''));