mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 12:52:08 +02:00
Merge remote-tracking branch 'Marc/ticket/10851' into develop-olympus
* Marc/ticket/10851: [ticket/10851] Set disallowed content to empty array if checking is disabled
This commit is contained in:
commit
352b523889
@ -394,6 +394,10 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage
|
||||
{
|
||||
$upload->set_disallowed_content(explode('|', $config['mime_triggers']));
|
||||
}
|
||||
else if (!$config['check_attachment_content'])
|
||||
{
|
||||
$upload->set_disallowed_content(array());
|
||||
}
|
||||
|
||||
if (!$local)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user