From 41ac7c8e5256e544850020c8125dddd6765c8c9d Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 16 Sep 2023 15:49:26 +0300 Subject: [PATCH] fix condition duplicate --- src/crontab/import/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crontab/import/feed.php b/src/crontab/import/feed.php index b39ab34..597b183 100644 --- a/src/crontab/import/feed.php +++ b/src/crontab/import/feed.php @@ -94,7 +94,7 @@ try $thisUrl = Yggverse\Parser\Url::parse(WEBSITE_URL); $manifestUrl = Yggverse\Parser\Url::parse($node->manifest); - if (empty($manifestUrl->host->name) || + if (empty($thisUrl->host->name) || empty($manifestUrl->host->name) || $manifestUrl->host->name == $thisUrl->host->name) // @TODO some mirrors could be available, improve condition {