Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14181

Custom report/denial reason not shown in user notifications

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.6
    • 3.1.7-RC1
    • ACP
    • None
    • PHP Version 5.4.31, MySQL 5.0.10, Chrome 45.0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: