mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Fixed bug #474123
git-svn-id: file:///svn/phpbb/trunk@1251 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -213,7 +213,10 @@ if( isset($HTTP_POST_VARS['addforum']) || isset($HTTP_POST_VARS['addcategory'])
|
||||
if( $mode == "addforum" )
|
||||
{
|
||||
list($cat_id) = each($HTTP_POST_VARS['addforum']);
|
||||
$forumname = $HTTP_POST_VARS['forumname'][$cat_id];
|
||||
//
|
||||
// stripslashes needs to be run on this because slashes are added when the forum name is posted
|
||||
//
|
||||
$forumname = stripslashes($HTTP_POST_VARS['forumname'][$cat_id]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -164,9 +164,9 @@ else if( isset($HTTP_POST_VARS['group_update']) )
|
||||
}
|
||||
else
|
||||
{
|
||||
$group_type = isset($HTTP_POST_VARS['group_type']) ? trim(addslashes($HTTP_POST_VARS['group_type'])) : "";
|
||||
$group_name = isset($HTTP_POST_VARS['group_name']) ? trim(addslashes($HTTP_POST_VARS['group_name'])) : "";
|
||||
$group_description = isset($HTTP_POST_VARS['group_description']) ? trim(addslashes($HTTP_POST_VARS['group_description'])) : "";
|
||||
$group_type = isset($HTTP_POST_VARS['group_type']) ? trim($HTTP_POST_VARS['group_type']) : "";
|
||||
$group_name = isset($HTTP_POST_VARS['group_name']) ? trim($HTTP_POST_VARS['group_name']) : "";
|
||||
$group_description = isset($HTTP_POST_VARS['group_description']) ? trim($HTTP_POST_VARS['group_description']) : "";
|
||||
$group_moderator = isset($HTTP_POST_VARS['group_moderator']) ? intval($HTTP_POST_VARS['group_moderator']) : "";
|
||||
$delete_old_moderator = isset($HTTP_POST_VARS['delete_old_moderator']) ? intval($HTTP_POST_VARS['delete_old_moderator']) : "";
|
||||
|
||||
|
Reference in New Issue
Block a user