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

Use IMAGETYPE_ constants in get_supported_image_types()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0-a1
    • Other
    • None

    Description

      Currently includes/functions_posting.php contains the IMAGETYPE_ constant values written as magic numbers, this should be changed to use the constants. See: #25925.

      Same applies to fileupload::image_types() in includes/functions_upload.php.

      Attachments

        Activity

          People

            Oleg Oleg [X] (Inactive)
            ToonArmy Chris Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: