diff --git a/filelist.php b/filelist.php index 42261a5e3..bc4b214d4 100644 --- a/filelist.php +++ b/filelist.php @@ -93,7 +93,7 @@ $data = [ 'client' => !empty($creator = $torrent->getCreatedBy()) ? htmlCHR(substr($creator, 0, 20)) : 'unknown client', 'date' => (!empty($dt = $torrent->getCreationDate()) && is_numeric($creation_date = $dt->getTimestamp())) ? date('d-M-Y H:i (e)', $creation_date) : 'unknown', 'size' => humn_size($row['size'], 2), - 'file_count' => $files->count(), + 'file_count' => iterator_count($files), 'site_url' => FULL_URL, 'topic_url' => TOPIC_URL . $topic_id, ]; @@ -189,7 +189,7 @@ sup {

Name: {$data['name']} | Date: {$data['date']} | Size: {$data['size']}

- Created by: {$data['client']} +

Created by: {$data['client']}


@@ -200,7 +200,7 @@ sup { BTMR hash ? - BitTorrent Merkle Root is a hash of a file embedded in torrents with BitTorrent v2 support, tracker users can extract, calculate them, and download deduplicated torrents using desktop tools such as + BitTorrent Merkle Root is a hash of a file embedded in torrents with BitTorrent v2 support, tracker users can extract, calculate them, also download deduplicated torrents using desktop tools such as Torrent Merkle Root Reader.