mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 10:48:59 +00:00
Without the debug stuff this time ...
git-svn-id: file:///svn/phpbb/trunk@3492 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d2a016659d
commit
2a8b3e11ab
1 changed files with 1 additions and 2 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue