mirror of
https://github.com/friendica/friendica
synced 2024-11-04 14:41:53 +01:00
Fix notice "Undefined index: href"
This commit is contained in:
parent
dc1c9386db
commit
b2d17abc7b
|
@ -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