1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

Merge pull request #2194 from bantu/ticket/12317

[ticket/12317] Fix notification tests for DBMS drivers using int for integers ;-)
This commit is contained in:
Nils Adermann
2014-03-28 22:24:57 -04:00
8 changed files with 9 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ class bookmark extends \phpbb\notification\type\post
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$users[] = $row['user_id'];
$users[] = (int) $row['user_id'];
}
$this->db->sql_freeresult($result);

View File

@@ -103,7 +103,7 @@ class post extends \phpbb\notification\type\base
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$users[] = $row['user_id'];
$users[] = (int) $row['user_id'];
}
$this->db->sql_freeresult($result);
@@ -115,7 +115,7 @@ class post extends \phpbb\notification\type\base
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$users[] = $row['user_id'];
$users[] = (int) $row['user_id'];
}
$this->db->sql_freeresult($result);

View File

@@ -94,7 +94,7 @@ class quote extends \phpbb\notification\type\post
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$users[] = $row['user_id'];
$users[] = (int) $row['user_id'];
}
$this->db->sql_freeresult($result);

View File

@@ -103,7 +103,7 @@ class topic extends \phpbb\notification\type\base
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))
{
$users[] = $row['user_id'];
$users[] = (int) $row['user_id'];
}
$this->db->sql_freeresult($result);