mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +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)
|
if ($ban_info === false)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT ban_mode, ban_item, ban_end, ban_reason_display
|
$sql = 'SELECT ban_mode, ban_item, ban_end, ban_reason_display
|
||||||
FROM ' . $this->bans_table . '
|
FROM ' . $this->bans_table;
|
||||||
WHERE 1';
|
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
|
|
||||||
$ban_info = [];
|
$ban_info = [];
|
||||||
|
Reference in New Issue
Block a user