Add missing return argument when removing a resource fails

This commit is contained in:
Eric Lippmann 2015-05-27 10:48:27 +02:00
parent bd5d6e9661
commit a304645b14
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ class ConfigController extends Controller
$configForm->remove($resource);
} catch (InvalidArgumentException $e) {
Notification::error($e->getMessage());
return;
return false;
}
if ($configForm->save()) {