Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9582 Missing MSSQL native driver case statements
  3. PHPBB3-9564

Reported messages are not assigned the default report reason when a reason is removed from the ACP using the mssqlnative DBAL

    Details

    • Type: Sub-task
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP 5.3.1, MSSQL 2008 SP1, Windows 7, Chrome 5.0.342.9

      Description

      When a "Report/denial reason" is removed via the ACP, any posts using this reason should be set to the default reason. When using the mssqlnative DBAL on 3.0.7-PL1, the update statement is skipped causing these posts to be left with an invalid reason ID. Subsequently you are unable to view the details of these reports via the Moderator Control Panel since you receive a "No report found" message.

      This error can be resolved by inserting the following code on line 236 of acp_reasons.php;

      case 'mssqlnative':

        Attachments

          Activity

            People

            • Assignee:
              ToonArmy Chris Smith
              Reporter:
              robhouse robhouse [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: