Merge pull request #7950 from annando/notice
Fix notice "Undefined index: href"
This commit is contained in:
commit
1479c426c7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue