Merge pull request from MrPetovan/bug/warnings

Ward against missing array key in Protocol\Feed
pull/14849/head
Michael Vogel 2025-03-11 15:06:59 +01:00 zatwierdzone przez GitHub
commit 8620b59dcc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
src/Protocol

Wyświetl plik

@ -335,7 +335,7 @@ class Feed
private static function getTitleFromItemOrEntry(array $item, DOMXPath $xpath, string $atomns, ?DOMNode $entry): string
{
$title = (string) $item['title'];
$title = (string) ($item['title'] ?? '');
if (empty($title)) {
$title = XML::getFirstNodeValue($xpath, $atomns . ':title/text()', $entry);