Compare commits

...

2 Commits

Author SHA1 Message Date
Will Rossiter
794778ae20
Merge pull request #198 from somardigital/main
BUG - Pass empty string instead of null when no image exists
2024-04-08 16:04:08 +12:00
Sukhwinder Singh
05e6963f04 BUG - Pass empty string instead of null when no image exists 2024-04-08 15:08:56 +12:00

View File

@ -33,7 +33,7 @@ class GoogleSitemapExtension extends DataExtension
}
}
$objHttp = parse_url($this->owner->AbsoluteLink(), PHP_URL_HOST);
$objHttp = parse_url($this->owner->AbsoluteLink() ?? '', PHP_URL_HOST);
if ($objHttp != $hostHttp) {
$can = false;