Commit 9cff9e43 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Convert html to text in feedback email notifications


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent e58306d8
......@@ -2867,6 +2867,7 @@ function add_feedback_form_submit(Pieform $form, $values) {
require_once('activity.php');
unset($data->id);
$data->message = html2text($data->message);
activity_occurred('feedback', $data);
db_commit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment