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;