mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16888] Add the list of allowed files in the attachment tab
PHPBB3-16888
This commit is contained in:
@@ -817,11 +817,11 @@ function posting_gen_inline_attachments(&$attachment_data)
|
||||
*
|
||||
* @param array $attachment_data The attachment data
|
||||
* @param string $filename_data The filename data (filecomment)
|
||||
* @param bool $show_attach_box Whether to show the attach box
|
||||
* @param mixed $forum_id The forum id to check or false if private message
|
||||
* @param bool $show_attach_box Whether to show the attach box
|
||||
* @return int
|
||||
*/
|
||||
function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_attach_box = true, $forum_id)
|
||||
function posting_gen_attachment_entry($attachment_data, &$filename_data, $forum_id, $show_attach_box = true)
|
||||
{
|
||||
global $template, $cache, $config, $phpbb_root_path, $phpEx, $user, $phpbb_dispatcher;
|
||||
|
||||
|
Reference in New Issue
Block a user