aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorForumhulp.com <info@forumhulp.com>2014-03-08 22:36:18 +0100
committerAndreas Fischer <bantu@phpbb.com>2014-03-09 21:37:44 +0100
commit86845e48a26e6d3e7b55cb09f396a1637853be74 (patch)
tree50ba12c1fcebf465ffdcb5da76fca76dc3f2a65b /phpBB/phpbb/notification
parent4fb19c85416767b04cfaa13df1c87a10d5a9f616 (diff)
downloadforums-86845e48a26e6d3e7b55cb09f396a1637853be74.tar
forums-86845e48a26e6d3e7b55cb09f396a1637853be74.tar.gz
forums-86845e48a26e6d3e7b55cb09f396a1637853be74.tar.bz2
forums-86845e48a26e6d3e7b55cb09f396a1637853be74.tar.xz
forums-86845e48a26e6d3e7b55cb09f396a1637853be74.zip
[ticket/12256] Selecting founders is fetching $sql instead of $result
PHPBB3-12256
Diffstat (limited to 'phpBB/phpbb/notification')
-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'];
}