From 5b169c908b1c6323b274db336d098039d1321de1 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 22 Dec 2023 23:51:30 +0000 Subject: [PATCH] Fix warning --- src/Protocol/ActivityPub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5