Merge pull request #198 from somardigital/main
BUG - Pass empty string instead of null when no image exists
This commit is contained in:
commit
794778ae20
|
@ -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) {
|
if ($objHttp != $hostHttp) {
|
||||||
$can = false;
|
$can = false;
|
||||||
|
|
Loading…
Reference in New Issue