1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 23:32:02 +02:00

[ticket/13892] Respect "Someone reports a post" notification setting.

report_post inherits from post_in_queue, therefore using self:: instead of
static:: results in the incorrect notification type being used to determine
which users to exclude from the notification.

PHPBB3-13892
This commit is contained in:
Cesar G 2015-10-15 02:28:55 -07:00
parent bc6a4c4583
commit 9de5668b80

View File

@ -108,7 +108,7 @@ class post_in_queue extends \phpbb\notification\type\post
}
return $this->check_user_notification_options($auth_read[$post['forum_id']]['f_read'], array_merge($options, array(
'item_type' => self::$notification_option['id'],
'item_type' => static::$notification_option['id'],
)));
}