]> git.mxchange.org Git - friendica-addons.git/blobdiff - leistungsschutzrecht/leistungsschutzrecht.php
Replace and/AND and or/OR by && and ||
[friendica-addons.git] / leistungsschutzrecht / leistungsschutzrecht.php
index 39eb4db13a5181db5d1016b89e5b01a6bed25654..60ca9b8b2dce3a6fa751de2d771e37c5c7360edb 100644 (file)
@@ -86,7 +86,7 @@ function leistungsschutzrecht_fetchsites() {
                if (isset($attr["href"])) {
                        $urldata = parse_url($attr["href"]);
 
-                       if (isset($urldata["host"]) AND !isset($urldata["path"])) {
+                       if (isset($urldata["host"]) && !isset($urldata["path"])) {
                                $cleanedurlpart = explode("%", $urldata["host"]);
 
                                $hostname = explode(".", $cleanedurlpart[0]);