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

Custom report/denial reason not shown in user notifications

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.6
    • Fix Version/s: 3.1.7-RC1
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: