Commit 82f287b6 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Generate activity for feedback with an attachment

parent 9d75cb6b
......@@ -368,6 +368,7 @@ $string['addtowatchlist'] = 'Add %s to watchlist';
$string['addtowatchlistwithchildren'] = 'Add entire %s contents to watchlist';
$string['alreadyinwatchlist'] = 'This %s is already in your watchlist';
$string['attachedfileaddedtofolder'] = "The attached file %s has been added to your '%s' folder.";
$string['attachfile'] = "Attach file";
$string['complaint'] = 'Complaint';
$string['date'] = 'Date';
$string['feedback'] = 'Feedback';
......
......@@ -100,6 +100,10 @@ if (!insert_record('view_feedback', $data)) {
$f->delete();
}
require_once('activity.php');
activity_occurred('feedback', $data);
redirect(get_config('wwwroot') . 'view/view.php?view=' . $viewid);
?>
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