Minor improvements (#1259)

This commit is contained in:
Roman Kelesidis 2023-12-26 11:41:45 +07:00 committed by GitHub
commit 297163953e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -315,6 +315,7 @@ function display_attachments($post_id)
'FILESIZE' => $filesize,
'COMMENT' => $comment,
'TARGET_BLANK' => $target_blank,
'IS_IMAGE' => (bool)$target_blank,
'DOWNLOAD_COUNT' => declension((int)$attachments['_' . $post_id][$i]['download_count'], 'times')
]);
}