Merge pull request #7950 from annando/notice
Fix notice "Undefined index: href"
This commit is contained in:
commit
1479c426c7
|
@ -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"];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user