mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x' into 3.3.x
This commit is contained in:
commit
b1eaaea89a
1 changed files with 3 additions and 1 deletions
|
@ -1166,6 +1166,8 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count_a
|
|||
$filename = $phpbb_root_path . $config['upload_path'] . '/' . utf8_basename($attachment['physical_filename']);
|
||||
|
||||
$upload_icon = '';
|
||||
$download_link = '';
|
||||
$display_cat = false;
|
||||
|
||||
if (isset($extensions[$attachment['extension']]))
|
||||
{
|
||||
|
@ -1325,7 +1327,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count_a
|
|||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.parse_attachments_modify_template_data', compact($vars)));
|
||||
$update_count_ary = $update_count;
|
||||
unset($update_count);
|
||||
unset($update_count, $display_cat, $download_link);
|
||||
|
||||
$template->assign_block_vars('_file', $block_array);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue