Changes:
- null was 2nd argument's value before, an empty string is basically the same here
This commit is contained in:
parent
feb87e8dc3
commit
0c12e947dd
|
@ -312,7 +312,7 @@ class Feed
|
||||||
$item['uri'] = $guid;
|
$item['uri'] = $guid;
|
||||||
|
|
||||||
// Don't use the GUID value directly but instead use it as a basis for the GUID
|
// Don't use the GUID value directly but instead use it as a basis for the GUID
|
||||||
$item['guid'] = Item::guidFromUri($guid, parse_url($guid, PHP_URL_HOST) ?? parse_url($item['plink'], PHP_URL_HOST));
|
$item['guid'] = Item::guidFromUri($guid, parse_url($guid, PHP_URL_HOST) ?? parse_url($item['plink'], PHP_URL_HOST) ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($item['uri'])) {
|
if (empty($item['uri'])) {
|
||||||
|
|
Loading…
Reference in a new issue