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

Use IMAGETYPE_ constants in get_supported_image_types()

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0-a1
    • Component/s: Other
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: