mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12256] Selecting founders is fetching $sql instead of $result
PHPBB3-12256
This commit is contained in:
parent
4fb19c8541
commit
86845e48a2
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class admin_activate_user extends \phpbb\notification\type\base
|
||||||
WHERE user_type = ' . USER_FOUNDER;
|
WHERE user_type = ' . USER_FOUNDER;
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
|
|
||||||
while ($row = $this->db->sql_fetchrow($sql))
|
while ($row = $this->db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
$users[] = (int) $row['user_id'];
|
$users[] = (int) $row['user_id'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue