mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/9687] Remove invalid WHERE clause form query
PHPBB3-9687
This commit is contained in:
parent
dcbd4a54aa
commit
2d53b8f947
1 changed files with 1 additions and 2 deletions
|
@ -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 = [];
|
||||||
|
|
Loading…
Add table
Reference in a new issue