mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
ea09e7466e
commit
c08f18dc74
@ -326,13 +326,9 @@ function tracker_register ($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVE
|
||||
// Exclude padding files [Only for hybrid torrents]
|
||||
if ((isset($f['attr']) ? $f['attr'] : null) !== 'p')
|
||||
{
|
||||
$totallen += (isset($f['length']) && is_numeric($f['length'])) ? (float) $f['length'] : 'invalid_size';
|
||||
$totallen += (float) $f['length'];
|
||||
}
|
||||
}
|
||||
if ($totallen === 'invalid_size')
|
||||
{
|
||||
torrent_error_exit($lang['TORFILE_INVALID']);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user