fix warning
This commit is contained in:
parent
34252d34c4
commit
9e59a3d601
@ -446,7 +446,7 @@ class RssParser
|
|||||||
$itemDescription = sanitizeVal((string) $item['description']);
|
$itemDescription = sanitizeVal((string) $item['description']);
|
||||||
$itemPubDate = sanitizeVal((string) $item['pubdate']);
|
$itemPubDate = sanitizeVal((string) $item['pubdate']);
|
||||||
$itemId = sanitizeVal((string) $item['guid']);
|
$itemId = sanitizeVal((string) $item['guid']);
|
||||||
$itemAuthor = sanitizeVal((string) $item['author']);
|
$itemAuthor = sanitizeVal((string) ($item['author'] ?? ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loop on each category
|
// Loop on each category
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user