aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_register.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-28 17:10:07 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-28 17:10:07 +0000
commit7e47a8ddb023b3851d9f2d1dd153e535cb41172d (patch)
tree5968fe5a259b63d7f3330c808a6f5026625d3f8f /phpBB/includes/ucp/ucp_register.php
parentfe9590cf5a3946260d61748cfc2ac0e13f10c23b (diff)
downloadforums-7e47a8ddb023b3851d9f2d1dd153e535cb41172d.tar
forums-7e47a8ddb023b3851d9f2d1dd153e535cb41172d.tar.gz
forums-7e47a8ddb023b3851d9f2d1dd153e535cb41172d.tar.bz2
forums-7e47a8ddb023b3851d9f2d1dd153e535cb41172d.tar.xz
forums-7e47a8ddb023b3851d9f2d1dd153e535cb41172d.zip
added ability to hide coppa groups (mainly applied to permission screens)
git-svn-id: file:///svn/phpbb/trunk@5744 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_register.php')
-rw-r--r--phpBB/includes/ucp/ucp_register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index 31914917f9..0ac9290c15 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -204,7 +204,7 @@ class ucp_register
$sql = 'SELECT group_id
FROM ' . GROUPS_TABLE . "
- WHERE group_name = '$group_name'
+ WHERE group_name = '" . $db->sql_escape($group_name) . "'
AND group_type = " . GROUP_SPECIAL;
$result = $db->sql_query($sql);