diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2014-01-09 23:53:19 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2014-06-23 21:37:47 +0200 |
| commit | 94a81fa01d0106f6deba6cbb9000f4c8bbbf607a (patch) | |
| tree | 0c33b9e5252b4c4f3d24b1aea49d4443db2ff44c /phpBB/posting.php | |
| parent | 9bc6e641bfbe53c3920662ee8e24a723ac34e6a1 (diff) | |
| download | forums-94a81fa01d0106f6deba6cbb9000f4c8bbbf607a.tar forums-94a81fa01d0106f6deba6cbb9000f4c8bbbf607a.tar.gz forums-94a81fa01d0106f6deba6cbb9000f4c8bbbf607a.tar.bz2 forums-94a81fa01d0106f6deba6cbb9000f4c8bbbf607a.tar.xz forums-94a81fa01d0106f6deba6cbb9000f4c8bbbf607a.zip | |
[ticket/11148] Pass mimetype guesser to upload_attachment() function
PHPBB3-11148
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 1b8fa6debf..0e912330e0 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -523,7 +523,9 @@ $orig_poll_options_size = sizeof($post_data['poll_options']); $message_parser = new parse_message(); $plupload = $phpbb_container->get('plupload'); +$mimetype_guesser = $phpbb_container->get('mimetype.guesser'); $message_parser->set_plupload($plupload); +$message_parser->set_mimetype_guesser($mimetype_guesser); if (isset($post_data['post_text'])) { |
