1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13713] Change $res to $result

PHPBB3-13713
This commit is contained in:
lavigor
2018-06-06 19:32:15 +03:00
committed by Marc Alexander
parent 8817e23474
commit 99fe591088
3 changed files with 10 additions and 10 deletions

View File

@@ -74,9 +74,9 @@ class mention_helper
AND ' . $this->db->sql_in_set('u.user_type', [USER_NORMAL, USER_FOUNDER]) . '
AND ' . $this->db->sql_in_set('u.user_id', $user_ids),
]);
$res = $this->db->sql_query($query);
$result = $this->db->sql_query($query);
while ($row = $this->db->sql_fetchrow($res))
while ($row = $this->db->sql_fetchrow($result))
{
$this->cached_colors['users'][$row['user_id']] = $row['user_colour'];
}
@@ -91,9 +91,9 @@ class mention_helper
],
'WHERE' => $this->db->sql_in_set('g.group_id', $group_ids),
]);
$res = $this->db->sql_query($query);
$result = $this->db->sql_query($query);
while ($row = $this->db->sql_fetchrow($res))
while ($row = $this->db->sql_fetchrow($result))
{
$this->cached_colors['groups'][$row['group_id']] = $row['group_colour'];
}