diff --git a/phpBB/posting.php b/phpBB/posting.php index 393c34270f..d1905a8f86 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -794,7 +794,7 @@ if (!sizeof($error) && $preview) include($phpbb_root_path . 'includes/functions_display.' . $phpEx); $extensions = $update_count = array(); - $template->assign_block_var('S_HAS_ATTACHMENTS', TRUE); + $template->assign_var('S_HAS_ATTACHMENTS', TRUE); display_attachments('attachment', $message_parser->attachment_data, $update_count, TRUE); } }