Add missing return argument when removing a resource fails
This commit is contained in:
parent
bd5d6e9661
commit
a304645b14
|
@ -352,7 +352,7 @@ class ConfigController extends Controller
|
|||
$configForm->remove($resource);
|
||||
} catch (InvalidArgumentException $e) {
|
||||
Notification::error($e->getMessage());
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($configForm->save()) {
|
||||
|
|
Loading…
Reference in New Issue