diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-10-30 23:44:39 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-10-30 23:44:39 +0000 |
| commit | 5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7 (patch) | |
| tree | 7a147156748756e8f9f155781eafdf4d23f96de0 /phpBB/admin/admin_forums.php | |
| parent | e12e73d0b74cfe09366ab8e9b27e8c08c671ddcf (diff) | |
| download | forums-5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7.tar forums-5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7.tar.gz forums-5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7.tar.bz2 forums-5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7.tar.xz forums-5cce2b35f7dcb8517935507b5e6b6ee4fa9239b7.zip | |
Fixed bug #474123
git-svn-id: file:///svn/phpbb/trunk@1251 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_forums.php')
| -rw-r--r-- | phpBB/admin/admin_forums.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/admin/admin_forums.php b/phpBB/admin/admin_forums.php index f206fd7f59..6c5184094d 100644 --- a/phpBB/admin/admin_forums.php +++ b/phpBB/admin/admin_forums.php @@ -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]); } } |
