[FeedExpander] Fix PHP notice on missing uri field
(guid is valid uri AND item uri is not valid) => (guid is valid uri AND item uri is empty or not valid)
This commit is contained in:
parent
062dd7f8a5
commit
8144488a9e
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
if($attribute === 'isPermaLink'
|
||||
&& ($value === 'true' || (
|
||||
filter_var($feedItem->guid, FILTER_VALIDATE_URL)
|
||||
&& !filter_var($item['uri'], FILTER_VALIDATE_URL)
|
||||
&& (empty($item['uri']) || !filter_var($item['uri'], FILTER_VALIDATE_URL))
|
||||
)
|
||||
)
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue