Browse Source

fix variable name

main
ghost 1 year ago
parent
commit
7a00630533
  1. 2
      src/crontab/import/feed.php
  2. 4
      src/public/api/push.php

2
src/crontab/import/feed.php

@ -572,7 +572,7 @@ try @@ -572,7 +572,7 @@ try
foreach ($remoteMagnet->xs as $xs)
{
if ($url = Yggverse\Parser\Url::parse($tr))
if ($url = Yggverse\Parser\Url::parse($xs))
{
$db->initMagnetToExactSourceId(
$localMagnet->magnetId,

4
src/public/api/push.php

@ -513,7 +513,7 @@ else @@ -513,7 +513,7 @@ else
foreach ($remote->tr as $tr)
{
if ($url = Yggverse\Parser\Url::parse($xs))
if ($url = Yggverse\Parser\Url::parse($tr))
{
$db->initMagnetToAddressTrackerId(
$local->magnetId,
@ -532,7 +532,7 @@ else @@ -532,7 +532,7 @@ else
foreach ($remote->as as $as)
{
if ($url = Yggverse\Parser\Url::parse($xs))
if ($url = Yggverse\Parser\Url::parse($as))
{
$db->initMagnetToAcceptableSourceId(
$local->magnetId,

Loading…
Cancel
Save