Browse Source

fix condition duplicate

main
ghost 1 year ago
parent
commit
41ac7c8e52
  1. 2
      src/crontab/import/feed.php

2
src/crontab/import/feed.php

@ -94,7 +94,7 @@ try
$thisUrl = Yggverse\Parser\Url::parse(WEBSITE_URL); $thisUrl = Yggverse\Parser\Url::parse(WEBSITE_URL);
$manifestUrl = Yggverse\Parser\Url::parse($node->manifest); $manifestUrl = Yggverse\Parser\Url::parse($node->manifest);
if (empty($manifestUrl->host->name) || if (empty($thisUrl->host->name) ||
empty($manifestUrl->host->name) || empty($manifestUrl->host->name) ||
$manifestUrl->host->name == $thisUrl->host->name) // @TODO some mirrors could be available, improve condition $manifestUrl->host->name == $thisUrl->host->name) // @TODO some mirrors could be available, improve condition
{ {

Loading…
Cancel
Save