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