diff --git a/mod/data/comment.php b/mod/data/comment.php index f1535369569..07e95424868 100755 --- a/mod/data/comment.php +++ b/mod/data/comment.php @@ -18,6 +18,7 @@ $commentid = optional_param('commentid','',PARAM_INT); $confirm = optional_param('confirm','',PARAM_INT); $commentcontent = optional_param('commentcontent','',PARAM_NOTAGS); + $template = optional_param('template','',PARAM_ALPHA); if ((!$record = get_record('data_records','id',$recordid))) {