-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.3, 3.1.4
-
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.