Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10636

cache_moderators() generates invalid query

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • 3.1.0-dev
    • Other
    • None

      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.

            bantu Andreas Fischer [X] (Inactive)
            Noxwizard Patrick Webster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: