alecpl
2009-12-09 8abe5485fd797ee17a6da13ebec7b6d7a3411b92
- move compose_message_body hook to better place (#1486353)


1 files modified
3 ■■■■ changed files
program/steps/mail/compose.inc 3 ●●●● patch | view | raw | blame | history
program/steps/mail/compose.inc
@@ -444,12 +444,11 @@
    // 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'];  
  }
  $out = $form_start ? "$form_start\n" : '';