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

core.modify_uploaded_file provides incorrect value

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 3.1.6
    • None
    • Events
    • None
    • PHP 5.6.4, MariaDB 10.0.21 (MySQL 5.6),

    Description

      The core.modify_uploaded_file (line 503) located in includes/functions_posting.php in the upload_attachment function (line 406) is providing an invalid data value.

      The value filedata['thumbnail'] represents the board configuration of thumbnails enabled (line 476) versus the indicator of thumbnail required for the individual file.

      The determination of thumbnails required for the individual attachment occurs at line 559. If the extract code block is moved to the end of the upload_attachment function (line 571), the filedata['thumbnail'] will correctly reflect the value for the attachment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcocking jcocking [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: