Update functions_torrent.php

This commit is contained in:
Roman Kelesidis 2024-01-27 20:35:41 +07:00
parent c4d6616bdb
commit 4e4d30376e

View File

@ -324,7 +324,7 @@ function tracker_register ($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVE
foreach ($info['files'] as $fn => $f)
{
// Exclude padding files [Only for hybrid torrents]
if ((isset($f['attr']) ? $f['attr'] : null) !== 'p')
if (!isset($f['attr']) || $f['attr'] !== 'p')
{
if (isset($f['length']) && is_numeric($f['length']))
{