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:
committed by
Marc Alexander
parent
728b200cd9
commit
64ab1fc24c
@@ -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 = [];
|
||||
|
Reference in New Issue
Block a user