@@ -19,7 +19,9 @@ |
||
| 19 | 19 | return $this->redirect('/Security/login'); |
| 20 | 20 | } else if (UserInvitation::create()->canCreate(Member::CurrentUser()) == false){ |
| 21 | 21 | return Security::permissionFailure(); |
| 22 | - } else return $this->renderWith(array('UserController', 'Page')); |
|
| 22 | + } else { |
|
| 23 | + return $this->renderWith(array('UserController', 'Page')); |
|
| 24 | + } |
|
| 23 | 25 | } |
| 24 | 26 | |
| 25 | 27 | public function InvitationForm() |