SendUsageTask: fixed php_uname() call with invalid mode

this now throws in PHP 8.4. Previously it returned the same as php_uname(a).
Presumably the intent was to capture the CPU arch and not a repeat of the machine field.

closes #6811
This commit is contained in:
Dylan K. Taylor
2025-09-23 13:07:47 +01:00
parent dd5a7adec4
commit 45698e4bb9

View File

@@ -88,7 +88,7 @@ class SendUsageTask extends AsyncTask{
"phpVersion" => PHP_VERSION,
"machine" => php_uname("a"),
"release" => php_uname("r"),
"platform" => php_uname("i")
"platform" => php_uname("m")
];
$data["players"] = [