fix condition duplicate

This commit is contained in:
ghost 2023-09-16 15:49:26 +03:00
parent 12452b46d2
commit 41ac7c8e52

View File

@ -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
{