diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 7e3f0f4802..a74f50fd65 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -1416,7 +1416,7 @@ class GServer $serverdata['detection-method'] = self::DETECT_SITEINFO_JSON; } - if (!empty($data['url'])) { + if (!empty($data['platform'])) { $serverdata['platform'] = strtolower($data['platform']); $serverdata['version'] = $data['version'] ?? 'N/A'; }