mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +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)
|
||||
{
|
||||
$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 = [];
|
||||
|
|
Loading…
Add table
Reference in a new issue