mirror of
https://github.com/friendica/friendica
synced 2024-11-10 23:02:55 +00:00
Fix notice "Undefined index: href"
This commit is contained in:
parent
dc1c9386db
commit
b2d17abc7b
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