mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user