aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-02-21 13:30:45 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-02-21 13:30:45 +0000
commit2a8b3e11ab36da371fff73d6d353b7ed9517e24b (patch)
tree5e869326cea7aa791d72a32b47ffd653e448b313 /phpBB/admin
parentd2a016659d68d6cc021de8c5f15a94518e510061 (diff)
downloadforums-2a8b3e11ab36da371fff73d6d353b7ed9517e24b.tar
forums-2a8b3e11ab36da371fff73d6d353b7ed9517e24b.tar.gz
forums-2a8b3e11ab36da371fff73d6d353b7ed9517e24b.tar.bz2
forums-2a8b3e11ab36da371fff73d6d353b7ed9517e24b.tar.xz
forums-2a8b3e11ab36da371fff73d6d353b7ed9517e24b.zip
Without the debug stuff this time ...
git-svn-id: file:///svn/phpbb/trunk@3492 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r--phpBB/admin/admin_permissions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/admin/admin_permissions.php b/phpBB/admin/admin_permissions.php
index 422bcae57c..0b0f3c2f05 100644
--- a/phpBB/admin/admin_permissions.php
+++ b/phpBB/admin/admin_permissions.php
@@ -403,7 +403,7 @@ if (!empty($forum_id) || !empty($group_id) || !empty($username) ||
{
$db->sql_freeresult($result);
- echo "2 >> " . $sql = ($_POST['type'] == 'group') ? "SELECT group_id AS id, group_name AS name, group_type FROM " . GROUPS_TABLE . " WHERE group_id IN ($where_sql) ORDER BY group_name ASC" : "SELECT user_id AS id, username AS name, user_founder FROM " . USERS_TABLE . " WHERE username IN ($where_sql) ORDER BY username, user_regdate ASC";
+ $sql = ($_POST['type'] == 'group') ? "SELECT group_id AS id, group_name AS name, group_type FROM " . GROUPS_TABLE . " WHERE group_id IN ($where_sql) ORDER BY group_name ASC" : "SELECT user_id AS id, username AS name, user_founder FROM " . USERS_TABLE . " WHERE username IN ($where_sql) ORDER BY username, user_regdate ASC";
$result = $db->sql_query($sql);
if ($row = $db->sql_fetchrow($result))
@@ -426,7 +426,6 @@ if (!empty($forum_id) || !empty($group_id) || !empty($username) ||
}
}
$db->sql_freeresult($result);
-echo htmlspecialchars($ug_hidden);
// Now we'll build a list of preset options ...
$preset_options = $preset_js = $preset_update_options = '';