mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #2099 from bantu/ticket/12256
[ticket/12256] Selecting founders is fetching $sql instead of $result
This commit is contained in:
commit
20723a9315
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;
|
||||
$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'];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue