mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
bc6a4c4583
commit
9de5668b80
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
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'],
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue