mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fix condition
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user