feedback_format_body should be rewritten to use the variable it receives instead of pulling it from _POST again.

----old------
function feedback_format_body($body) {
  $edit = $_POST["edit"];

  $body  = "-- The following message was sent using the feedback page --";
  $body .= "\n\n" . $edit['form_field_body'];


----new------
   $output = "-- The following message was sent using the feedback page --";
   $output = "\n\n" . $body;

Comments

kbahey’s picture

Assigned: Unassigned » kbahey

Good observation.

Fixed in CVS.

Anonymous’s picture