Closed (fixed)
Project:
Feedback
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Apr 2005 at 20:52 UTC
Updated:
6 May 2005 at 02:00 UTC
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
Comment #1
kbahey commentedGood observation.
Fixed in CVS.
Comment #2
(not verified) commented