mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11103] Bug (using wrong variable)
PHPBB3-11103
This commit is contained in:
parent
858201cc1f
commit
cbe0d478f1
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class phpbb_notifications_type_post_in_queue extends phpbb_notifications_type_po
|
||||||
$sql = 'SELECT *
|
$sql = 'SELECT *
|
||||||
FROM ' . USER_NOTIFICATIONS_TABLE . "
|
FROM ' . USER_NOTIFICATIONS_TABLE . "
|
||||||
WHERE item_type = '" . self::$notification_option['id'] . "'
|
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);
|
$result = $db->sql_query($sql);
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue