mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
[ticket/16888] Add the list of allowed files in the attachment tab
PHPBB3-16888
This commit is contained in:
parent
c5814ddfaa
commit
a7385f0fbe
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
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_']);
|
$allowed_attachments = array_keys($cache->obtain_attach_extensions($forum_id)['_allowed_']);
|
||||||
|
|
||||||
// Some default template variables
|
// Some default template variables
|
||||||
|
|
Loading…
Add table
Reference in a new issue