Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.1.6
-
None
-
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.