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

Custom report/denial reason not shown in user notifications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.7-RC1
    • 3.1.6
    • ACP
    • None
    • PHP Version 5.4.31, MySQL 5.0.10, Chrome 45.0

      To reproduce, go to ACP > System > Manage report/denial reasons. Add a custom denial reason (e.g., BECAUSE -> "Because I said so"). Now disapprove a post. The notification message shown should include "Because I said so". Instead it shows a simple "." (see attached screenshot).

      I believe this is the fix:

      OPEN: mcp_queue.php
      FIND: $post_data['disapprove_reason'] = "";
      REPLACE WITH: $post_data['disapprove_reason'] = $disapprove_reason;

      It appears this occurs because the custom report/denial isn't localized. Note: Reason is correctly logged in the ACP > Maintenance > Moderator log.

            Marc Marc
            HB HB
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: