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

"Someone reports a post" notification setting has no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.7-RC1
    • 3.1.3, 3.1.4
    • Notification System
    • None
    • PHP 5.3.24, MySQL 5.0.96; PHP 5.6.3, MySQL 5.6.21

      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: