mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Fixed for loop parameter order. FOOL.
This commit is contained in:
parent
4cc2a890b0
commit
a292c4fe86
@ -154,7 +154,7 @@ maintenance of the server.'
|
||||
|
||||
$scopes = explode($this->config['scope_delimeter'], $scopes);
|
||||
|
||||
for ($i = 0; $i++; $i < count($scopes)) {
|
||||
for ($i = 0; $i < count($scopes); $i++) {
|
||||
$scopes[$i] = trim($scopes[$i]);
|
||||
|
||||
if ($scopes[$i] === '') {
|
||||
|
Loading…
Reference in New Issue
Block a user