]> git.mxchange.org Git - friendica.git/commitdiff
Fix warning
authorMichael <heluecht@pirati.ca>
Fri, 22 Dec 2023 23:51:30 +0000 (23:51 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 22 Dec 2023 23:51:30 +0000 (23:51 +0000)
src/Protocol/ActivityPub.php

index a9ede518ed49b413e91af75ef2d6761ddc3aa755..09464a13c29c1d26ea7c9ac61ce130a0554c8299 100644 (file)
@@ -309,7 +309,7 @@ class ActivityPub
                $limited = DI::config()->get('system', 'limited_servers');
                if (!empty($limited)) {
                        $servers = explode(',', str_replace(' ', '', $limited));
-                       $host = parse_url($contact['baseurl'], PHP_URL_HOST);
+                       $host = parse_url($apcontact['baseurl'], PHP_URL_HOST);
                        if (!empty($host) && in_array($host, $servers)) {
                                return false;
                        }