From a292c4fe86b7a6b4878e22529b8acd0de93ac192 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 20 Jul 2012 15:56:56 +0100 Subject: [PATCH] Fixed for loop parameter order. FOOL. --- src/oauth2server/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index 133a450f..50153c0e 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -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] === '') {