diff options
author | Jim Mossing Holsteyn <jim@beta-garden.com> | 2016-11-07 16:06:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 16:06:50 +0100 |
commit | 4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5 (patch) | |
tree | 1c9beb8c8661fbe631cc19d302c5a1a940b43978 /phpBB/phpbb/notification | |
parent | 9be9062df358aa6744b5764ac841a6b685d3ad6a (diff) | |
download | forums-4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5.tar forums-4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5.tar.gz forums-4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5.tar.bz2 forums-4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5.tar.xz forums-4533dd9fa05a4cc52d28b5c8bcb536bd47b00da5.zip |
[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
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r-- | phpBB/phpbb/notification/type/report_pm.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/report_pm.php b/phpBB/phpbb/notification/type/report_pm.php index 785e5f243d..cc32984ac6 100644 --- a/phpBB/phpbb/notification/type/report_pm.php +++ b/phpBB/phpbb/notification/type/report_pm.php @@ -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) |