diff options
author | 3D-I <480857+3D-I@users.noreply.github.com> | 2019-10-28 21:11:42 +0100 |
---|---|---|
committer | 3D-I <480857+3D-I@users.noreply.github.com> | 2019-10-28 21:11:42 +0100 |
commit | d136a8a9078b02433f4be08420486ad05c8129bd (patch) | |
tree | 4d3c720253ed2edef075bec7152a0ce66db16e10 /phpBB/posting.php | |
parent | 41728f2258c409480b9c3d4c1753b6eb1b47c677 (diff) | |
parent | e95e387188b050c163edcce3141c957d259810c9 (diff) | |
download | forums-d136a8a9078b02433f4be08420486ad05c8129bd.tar forums-d136a8a9078b02433f4be08420486ad05c8129bd.tar.gz forums-d136a8a9078b02433f4be08420486ad05c8129bd.tar.bz2 forums-d136a8a9078b02433f4be08420486ad05c8129bd.tar.xz forums-d136a8a9078b02433f4be08420486ad05c8129bd.zip |
Merge branch '3.2.x' into ticket/16153
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 11237bf050..5bba052a6a 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -974,7 +974,10 @@ if ($submit || $preview || $refresh) } // Parse Attachments - before checksum is calculated - $message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh); + if ($message_parser->check_attachment_form_token($language, $request, 'posting')) + { + $message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh); + } /** * This event allows you to modify message text before parsing |