1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-19 23:20:22 +01:00

[ticket/14859] Notifications for PM reports send to users with correct permissions

Tracker ticket (set the ticket ID to your ticket ID):

https://tracker.phpbb.com/browse/PHPBB3-14859

This addresses the problem that notifications of new PM reports were not sent out to moderators that weren't global moderators but did have the permission "Can close/delete PM reports". 

PHPBB3-14859
This commit is contained in:
Jim Mossing Holsteyn 2016-11-07 16:06:50 +01:00 committed by GitHub
parent 9be9062df3
commit 4533dd9fa0

View File

@ -52,7 +52,7 @@ class report_pm extends \phpbb\notification\type\pm
*
* @var string Permission name
*/
protected $permission = 'm_report';
protected $permission = 'm_pm_report';
/**
* Notification option data (for outputting to the user)