Skip to content

Commit

Permalink
Add missing return argument when removing a resource fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed May 27, 2015
1 parent d8097d4 commit ee5cc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/ConfigController.php
Expand Up @@ -352,7 +352,7 @@ public function removeresourceAction()
$configForm->remove($resource);
} catch (InvalidArgumentException $e) {
Notification::error($e->getMessage());
return;
return false;
}

if ($configForm->save()) {
Expand Down

0 comments on commit ee5cc63

Please sign in to comment.