From a7385f0fbe3fdf9f563c050e5fa57589cbfb9f9c Mon Sep 17 00:00:00 2001 From: 3D-I Date: Mon, 11 Oct 2021 04:54:50 +0200 Subject: [PATCH] [ticket/16888] Add the list of allowed files in the attachment tab PHPBB3-16888 --- phpBB/includes/functions_posting.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index a65851ccd8..8f3c0d6c44 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -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