From 92666e444486052fa3225aaaac4c012ddb9696c9 Mon Sep 17 00:00:00 2001 From: Artur Weigandt Date: Tue, 19 Nov 2024 08:13:48 +0100 Subject: [PATCH] Update src/Model/GServer.php --- src/Model/GServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 3110130a42..7b0d5f81bf 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -2417,7 +2417,7 @@ class GServer $assigned = true; } - if (in_array($attr['content'], array_keys($platforms['ap_platforms']))) { + if (in_array($attr['content'], array_keys($grouped_platforms['ap_platforms']))) { $serverdata['network'] = Protocol::ACTIVITYPUB; } elseif (in_array($attr['content'], array_values($platforms['zap_platforms']))) { $serverdata['network'] = Protocol::ZOT;