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

memberlist user_ids array uninitalized can lead to error

    Details

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

      Description

      If no user is found by the query on line 147 on memberlist.php then the $user_ids array is never initialized but used afterwards leading to an error:

      [phpBB Debug] PHP Warning: in file [ROOT]/memberlist.php on line 164: array_unique() expects parameter 1 to be array, null given.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              naderman Nils Adermann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: