Merge pull request #7950 from annando/notice

Fix notice "Undefined index: href"
2022.09-rc
Philipp 2019-12-14 11:00:04 +01:00 zatwierdzone przez GitHub
commit 1479c426c7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1574,7 +1574,7 @@ class Probe
$attr[$attribute->name] = trim($attribute->value); $attr[$attribute->name] = trim($attribute->value);
} }
if ($feed_url == "") { if (empty($feed_url) && !empty($attr['href'])) {
$feed_url = $attr["href"]; $feed_url = $attr["href"];
} }
} }