@@ -138,7 +138,7 @@ |
||
138 | 138 | // the current user has access to so that he/she can switch |
139 | 139 | // between them |
140 | 140 | return $this->renderWith('[[Your template]]', [ |
141 | - 'Options' => $options |
|
141 | + 'Options' => $options |
|
142 | 142 | ]); |
143 | 143 | |
144 | 144 |
@@ -115,7 +115,9 @@ |
||
115 | 115 | $sites = $this->app->getSites(); |
116 | 116 | |
117 | 117 | // If the user doesn't have access to any Lifeboat site force a re-auth |
118 | - if (count($sites) < 1) return $this->reloadAuth(); |
|
118 | + if (count($sites) < 1) { |
|
119 | + return $this->reloadAuth(); |
|
120 | + } |
|
119 | 121 | |
120 | 122 | // If the user only has access to one Lifeboat site then automatically use that |
121 | 123 | if (count($sites) === 1) { |