Merge pull request #7950 from annando/notice

Fix notice "Undefined index: href"
This commit is contained in:
Philipp
2019-12-14 11:00:04 +01:00
committed by GitHub

View File

@@ -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"];
} }
} }