mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/9687] Fix tests on postgres
PHPBB3-9687
This commit is contained in:
@@ -115,7 +115,7 @@ abstract class base implements type_interface
|
||||
WHERE (ban_end >= ' . time() . "
|
||||
OR ban_end = 0)
|
||||
AND ban_mode = '{$this->get_type()}'
|
||||
ORDER BY ban_item ASC, ban_id ASC";
|
||||
ORDER BY ban_item";
|
||||
$result = $this->db->sql_query($sql);
|
||||
$rowset = $this->db->sql_fetchrowset($result);
|
||||
$this->db->sql_freeresult($result);
|
||||
|
@@ -80,7 +80,7 @@ class user extends base
|
||||
OR b.ban_end = 0)
|
||||
AND b.ban_userid = u.user_id
|
||||
AND b.ban_mode = '{$this->get_type()}'
|
||||
ORDER BY username_clean ASC";
|
||||
ORDER BY u.username_clean ASC";
|
||||
$result = $this->db->sql_query($sql);
|
||||
while ($row = $this->db->sql_fetchrow($result))
|
||||
{
|
||||
|
Reference in New Issue
Block a user