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

MSSQL's get_existing_indexes() function improperly appends ternary result

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1
    • Labels:
      None
    • Environment:
      MSSQL Server 2012 via Native driver

      Description

      The ternary operations on lines 2646 and 2660 of phpbb/db/tools.php need to be wrapped in parentheses so that the result is properly appended. At the moment, the result of the ternary will overwrite the entire string.

        Attachments

          Activity

            People

            • Assignee:
              Noxwizard Patrick Webster
              Reporter:
              Noxwizard Patrick Webster
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: