aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-03-30 13:29:51 -0400
committercash <cash.costello@gmail.com>2013-03-30 13:29:51 -0400
commite579d5b32ea0f12450520a6d45183018e0851757 (patch)
tree4bdcbaa7ce86c36164dc058a544f07fb5164231c /actions/admin
parent62ebd8ff12086b6f7aaaba846264e43169ab5c8c (diff)
downloadelgg-e579d5b32ea0f12450520a6d45183018e0851757.tar.gz
elgg-e579d5b32ea0f12450520a6d45183018e0851757.tar.bz2
Fixes #2682 strips tags from site name
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/site/update_basic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 97d258b65..9765182cc 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -16,7 +16,7 @@ if ($site = elgg_get_site_entity()) {
}
$site->description = get_input('sitedescription');
- $site->name = get_input('sitename');
+ $site->name = strip_tags(get_input('sitename'));
$site->email = get_input('siteemail');
$site->save();