From: Michael Date: Fri, 22 Dec 2023 23:51:30 +0000 (+0000) Subject: Fix warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b169c908b1c6323b274db336d098039d1321de1;p=friendica.git Fix warning --- diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index a9ede518ed..09464a13c2 100644 --- a/src/Protocol/ActivityPub.php +++ b/src/Protocol/ActivityPub.php @@ -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; }