From 46c5a0f87811422d461e63f9e6dfa587e79f6ec0 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 11 Jun 2024 04:06:56 +0200 Subject: [PATCH] Fix condition --- common/components/SkinsSystemApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/components/SkinsSystemApi.php b/common/components/SkinsSystemApi.php index 75e5a1a..b858367 100644 --- a/common/components/SkinsSystemApi.php +++ b/common/components/SkinsSystemApi.php @@ -49,7 +49,7 @@ class SkinsSystemApi { $query['onUnknownProfileRespondWithUuid'] = $fallbackUuid; } - $url = "/profile/{$username}" . empty($query) ? '' : http_build_query($query); + $url = "/profile/{$username}" . (empty($query) ? '' : http_build_query($query)); $response = $this->getClient()->request('GET', $this->buildUrl($url)); if ($response->getStatusCode() !== 200) { return null;