aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/discussion/save.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/discussion/save.php')
-rw-r--r--mod/groups/actions/discussion/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/discussion/save.php b/mod/groups/actions/discussion/save.php
index de4afadfb..b3e9da654 100644
--- a/mod/groups/actions/discussion/save.php
+++ b/mod/groups/actions/discussion/save.php
@@ -4,7 +4,7 @@
*/
// Get variables
-$title = get_input("title");
+$title = htmlspecialchars(get_input('title', '', false), ENT_QUOTES, 'UTF-8');
$desc = get_input("description");
$status = get_input("status");
$access_id = (int) get_input("access_id");