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

Invalid parameter passed to RuntimeException in file_downloader.php

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.4-RC1
    • Component/s: None
    • Labels:
      None

      Description

      RuntimeException expects the first parameter to be a string, however, we pass an array.

      throw new \RuntimeException(array('FILE_NOT_FOUND', $filename));
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marc Marc
                Reporter:
                prototech prototech [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: