Test Failed
Pull Request — master (#6)
by
unknown
01:37
created
src/Controller/Component/UserPermissionsComponent.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,9 @@
 block discarded – undo
179 179
     private function searchForApplyViewRules($key, $value)
180 180
     {
181 181
     	if($key == $this->action) {
182
-			if(!$this->checkForHandler($this->controller, $value)) return;
182
+			if(!$this->checkForHandler($this->controller, $value)) {
183
+				return;
184
+			}
183 185
 			
184 186
 			if(!$this->controller->$value()){
185 187
 				$this->redirectIfIsSet();
Please login to merge, or discard this patch.