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

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.8-RC1
    • 3.0.7-PL1
    • ACP
    • None
    • PHP 5.3.1, MSSQL 2008 SP1, Windows 7, Chrome 5.0.342.9

      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':

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

              Created:
              Updated:
              Resolved: