diff options
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r-- | mod/groups/actions/edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php index 216a22702..c8a68d238 100644 --- a/mod/groups/actions/edit.php +++ b/mod/groups/actions/edit.php @@ -26,14 +26,14 @@ foreach ($CONFIG->group as $shortname => $valuetype) { $input[$shortname] = html_entity_decode($input[$shortname], ENT_COMPAT, 'UTF-8'); } - if ($shortname == 'name') { - $input[$shortname] = strip_tags($input[$shortname]); - } if ($valuetype == 'tags') { $input[$shortname] = string_to_tag_array($input[$shortname]); } } +$input['name'] = get_input('name'); +$input['name'] = html_entity_decode($input['name'], ENT_COMPAT, 'UTF-8'); + $user = get_loggedin_user(); $group_guid = (int)get_input('group_guid'); |