mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11915] Provide the attachment file size to the template.
PHPBB3-11915
This commit is contained in:
@@ -484,7 +484,7 @@ $message_parser->get_submitted_attachment_data($post_data['poster_id']);
|
||||
if ($post_data['post_attachment'] && !$submit && !$refresh && !$preview && $mode == 'edit')
|
||||
{
|
||||
// Do not change to SELECT *
|
||||
$sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename
|
||||
$sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename, filesize
|
||||
FROM ' . ATTACHMENTS_TABLE . "
|
||||
WHERE post_msg_id = $post_id
|
||||
AND in_message = 0
|
||||
|
Reference in New Issue
Block a user