1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/9687] Fix bugs when banning and add TODO's

PHPBB3-9687
This commit is contained in:
Oliver Schramm
2018-09-30 04:13:12 +02:00
committed by Marc Alexander
parent 728b200cd9
commit 64ab1fc24c
4 changed files with 6 additions and 5 deletions

View File

@@ -180,9 +180,10 @@ class manager
}
}
// TODO: Prevent logging out founders
$sql = 'SELECT user_id
FROM ' . $this->users_table . '
WHERE ' . $this->db->sql_in_set('u.' . $user_column, $ban_items_sql) . $ban_or_like;
WHERE ' . $this->db->sql_in_set('u.' . $user_column, $ban_items_sql, false, true) . $ban_or_like;
$result = $this->db->sql_query($sql);
$user_ids = [];