mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/9687] Remove invalid WHERE clause form query
PHPBB3-9687
This commit is contained in:
@@ -459,8 +459,7 @@ class manager
|
||||
if ($ban_info === false)
|
||||
{
|
||||
$sql = 'SELECT ban_mode, ban_item, ban_end, ban_reason_display
|
||||
FROM ' . $this->bans_table . '
|
||||
WHERE 1';
|
||||
FROM ' . $this->bans_table;
|
||||
$result = $this->db->sql_query($sql);
|
||||
|
||||
$ban_info = [];
|
||||
|
Reference in New Issue
Block a user