diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 18:44:31 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 18:44:31 -0500 |
commit | cbe0d478f1d984560b588dc0ef0cd4bec233263f (patch) | |
tree | 2d9c6616cb94035955fdd3e2d9bf810837340548 | |
parent | 858201cc1f96a749fbcc875d54d033cbe4aeb8ea (diff) | |
download | forums-cbe0d478f1d984560b588dc0ef0cd4bec233263f.tar forums-cbe0d478f1d984560b588dc0ef0cd4bec233263f.tar.gz forums-cbe0d478f1d984560b588dc0ef0cd4bec233263f.tar.bz2 forums-cbe0d478f1d984560b588dc0ef0cd4bec233263f.tar.xz forums-cbe0d478f1d984560b588dc0ef0cd4bec233263f.zip |
[ticket/11103] Bug (using wrong variable)
PHPBB3-11103
-rw-r--r-- | phpBB/includes/notifications/type/post_in_queue.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/notifications/type/post_in_queue.php b/phpBB/includes/notifications/type/post_in_queue.php index ca02b8d85a..5f8f9988c5 100644 --- a/phpBB/includes/notifications/type/post_in_queue.php +++ b/phpBB/includes/notifications/type/post_in_queue.php @@ -93,7 +93,7 @@ class phpbb_notifications_type_post_in_queue extends phpbb_notifications_type_po $sql = 'SELECT * FROM ' . USER_NOTIFICATIONS_TABLE . " WHERE item_type = '" . self::$notification_option['id'] . "' - AND " . $db->sql_in_set('user_id', $auth_approve[$topic['forum_id']]['m_approve']); + AND " . $db->sql_in_set('user_id', $auth_approve[$post['forum_id']]['m_approve']); $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { |