aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2014-03-09 16:55:28 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2014-03-09 16:55:28 -0500
commit20723a9315c7def0ab856888497f411b36916e1c (patch)
tree5172d5423c86489abb843cfc252144a6feb78e72 /phpBB/phpbb
parent7ca762c5247c9be0ff6beef03162e4b81dbf2c73 (diff)
parent86845e48a26e6d3e7b55cb09f396a1637853be74 (diff)
downloadforums-20723a9315c7def0ab856888497f411b36916e1c.tar
forums-20723a9315c7def0ab856888497f411b36916e1c.tar.gz
forums-20723a9315c7def0ab856888497f411b36916e1c.tar.bz2
forums-20723a9315c7def0ab856888497f411b36916e1c.tar.xz
forums-20723a9315c7def0ab856888497f411b36916e1c.zip
Merge pull request #2099 from bantu/ticket/12256
[ticket/12256] Selecting founders is fetching $sql instead of $result
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/notification/type/admin_activate_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/admin_activate_user.php b/phpBB/phpbb/notification/type/admin_activate_user.php
index 5f146e18ff..426da4db03 100644
--- a/phpBB/phpbb/notification/type/admin_activate_user.php
+++ b/phpBB/phpbb/notification/type/admin_activate_user.php
@@ -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'];
}