Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13892

"Someone reports a post" notification setting has no effect

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      report_post notifications are sent to moderators even if they have the corresponding notification disabled in the UCP. I believe this is caused by the use of self::$notification_option['id'] in post_in_queue::find_users_for_notification(), which is inherited by report_post - i.e. it causes the report_post notification to use the setting for notification.type.needs_approval instead of notification.type.report. Changing it to static::$notification_option['id'] appears to fix the problem.

            prototech prototech [X] (Inactive)
            lexikos lexikos [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: