diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index 8f1b8b546e5b..efe0ef707702 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -73,7 +73,7 @@ class QueryLogging $ip = $request->ip(); } - $client_version = ''; + $client_version = $request->server('HTTP_USER_AGENT'); $platform = ''; if ($request->hasHeader('X-CLIENT-PLATFORM')) {