[ticket/16888] Add the list of allowed files in the attachment tab

PHPBB3-16888
This commit is contained in:
3D-I 2021-10-11 04:54:50 +02:00
parent c5814ddfaa
commit a7385f0fbe

View file

@ -825,7 +825,6 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_a
{
global $template, $cache, $config, $phpbb_root_path, $phpEx, $user, $phpbb_dispatcher;
$forum_id != false ?: (int) $forum_id;
$allowed_attachments = array_keys($cache->obtain_attach_extensions($forum_id)['_allowed_']);
// Some default template variables