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

cache_moderators() generates invalid query

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Other
    • Labels:
      None

      Description

      This is a regression caused by one of the edits in PHPBB3-10484. The change to /includes/functions_admin.php uses the $sql_ary variable that is later expected to have been empty. Lines 2333 and 2360 should use a different variable name or it should be cleared out afterwards. Otherwise, the contents of the first query gets pulled into the generation of the next one, which is incorrect.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: