]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/Probe.php
Fix notice "Undefined index: href"
[friendica.git] / src / Network / Probe.php
index 80fa641ed4884a276548715daa66cb32cd2ccf12..3f02ef01179fd13715bcd1cc9fcb8115b1dcca86 100644 (file)
@@ -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"];
                        }
                }