Commit dbcb97e7 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

View feedback was generating the wrong kind of activity type

parent a717729d
......@@ -2414,6 +2414,7 @@ function add_feedback_form_submit(Pieform $form, $values) {
$data->ctime = db_format_timestamp(time());
insert_record($table, $data, 'id', true);
require_once('activity.php');
unset($data->id);
activity_occurred('feedback', $data);
if ($artefact) {
$goto = get_config('wwwroot') . 'view/artefact.php?artefact=' . $artefact->get('id') . '&view='.$view->get('id');
......
Supports Markdown
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