]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/GServer.php
authorArtur Weigandt <Art4@users.noreply.github.com>
Tue, 19 Nov 2024 07:13:48 +0000 (08:13 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2024 07:13:48 +0000 (08:13 +0100)
src/Model/GServer.php

index 3110130a42bc559ac5e52e7528046dbdfd1b266a..7b0d5f81bf2541ee7399d7f6c79f15dcc4ff6eaf 100644 (file)
@@ -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;