mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Add missing return argument when removing a resource fails
This commit is contained in:
parent
d8097d4a16
commit
ee5cc63fbc
@ -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…
x
Reference in New Issue
Block a user