mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_torrent.php
This commit is contained in:
parent
6ffb9b66cd
commit
5ee1dc6fe3
@ -328,7 +328,7 @@ function tracker_register ($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVE
|
||||
{
|
||||
if (isset($f['length']) && is_numeric($f['length']))
|
||||
{
|
||||
$totallen += (float) $f['length'];
|
||||
$totallen += $f['length'];
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -336,6 +336,7 @@ function tracker_register ($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVE
|
||||
}
|
||||
}
|
||||
}
|
||||
$totallen = (float) $totallen;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user