aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-02 12:25:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-02 12:25:40 +0000
commita2224165795320235ebe3505d048ff57f319f365 (patch)
tree5db548959906b527a29751b361ffccfb02ae00eb /mod/groups/actions
parenteafbdf2ffcb9f2496d77b697706230f116b12d6a (diff)
downloadelgg-a2224165795320235ebe3505d048ff57f319f365.tar.gz
elgg-a2224165795320235ebe3505d048ff57f319f365.tar.bz2
moved name out of configurable fields for a group
git-svn-id: http://code.elgg.org/elgg/trunk@7988 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/edit.php6
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');