From 2a8b3e11ab36da371fff73d6d353b7ed9517e24b Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 21 Feb 2003 13:30:45 +0000 Subject: [PATCH] Without the debug stuff this time ... git-svn-id: file:///svn/phpbb/trunk@3492 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_permissions.php | 3 +-- 1 file changed, 1 insertion(+), 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 = '';