Fix notice "Undefined index: href"

This commit is contained in:
Michael 2019-12-14 05:49:53 +00:00
parent dc1c9386db
commit b2d17abc7b

View file

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