[Pushed] $_FILES['attachment'] instead of $_FILES['attachments'] - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Development (https://community.mybb.com/forum-161.html) +--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html) +---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html) +----- Forum: Pushed (https://community.mybb.com/forum-183.html) +----- Thread: [Pushed] $_FILES['attachment'] instead of $_FILES['attachments'] (/thread-226313.html) |
$_FILES['attachment'] instead of $_FILES['attachments'] - StefanT - 2020-01-31 There are 3 files where $_FILES['attachment'] is checked. However the input field has been renamed to attachments. https://github.com/mybb/mybb/blob/1313f32a07da073c9a910f1ad61e9314f231c738/editpost.php#L195 https://github.com/mybb/mybb/blob/4ba89def36712d77abdd4d6fb34047139c224050/newthread.php#L160 https://github.com/mybb/mybb/blob/6ce374f5ea7dd3520afd83db2fb3c1aaf6ecacbf/newreply.php#L206 RE: $_FILES['attachment'] instead of $_FILES['attachments'] - Ben - 2020-02-01 Hi, Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too. Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/3888 Thanks for contributing to MyBB! Regards, The MyBB Group |