mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-09-30 21:29:05 +02:00
Compare commits
2 Commits
3f75c06a77
...
794778ae20
Author | SHA1 | Date | |
---|---|---|---|
|
794778ae20 | ||
|
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
Block a user