mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
Fix condition
This commit is contained in:
parent
345bc80d05
commit
46c5a0f878
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user