mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Update magnet icon (#1038)
This commit is contained in:
parent
f45602d8b6
commit
edf809667c
2 changed files with 2 additions and 1 deletions
|
@ -389,7 +389,8 @@ class Torrent
|
||||||
|
|
||||||
if (isset($info['length'])) {
|
if (isset($info['length'])) {
|
||||||
$totallen = (float)$info['length'];
|
$totallen = (float)$info['length'];
|
||||||
} elseif (isset($bt_v1, $info['files']) && \is_array($info['files'])) {
|
}
|
||||||
|
elseif (isset($bt_v1, $info['files']) && \is_array($info['files'])) {
|
||||||
foreach ($info['files'] as $fn => $f) {
|
foreach ($info['files'] as $fn => $f) {
|
||||||
// Exclude padding files
|
// Exclude padding files
|
||||||
if (($f['attr'] ?? null) !== 'p') {
|
if (($f['attr'] ?? null) !== 'p') {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue