From a2224165795320235ebe3505d048ff57f319f365 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 2 Feb 2011 12:25:40 +0000 Subject: moved name out of configurable fields for a group git-svn-id: http://code.elgg.org/elgg/trunk@7988 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/groups/actions/edit.php') 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'); -- cgit v1.2.3