BUG - Pass empty string instead of null when no image exists
This commit is contained in:
parent
3f75c06a77
commit
05e6963f04
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue