diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 4a22ef6ba..aebee0175 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -113,10 +113,10 @@ class Esi { $i = 0; foreach($scopesArr as $scp) { $scopes .= $scp['scope']; + $i++; if($i < sizeof($scopesArr)) { $scopes .= "%20"; } - $i++; } dd($scopes);