mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-04-23 17:05:44 +02:00
Default the add component to true
This commit is contained in:
parent
edd111451e
commit
013f873500
@ -70,7 +70,7 @@ class ComponentController extends AbstractApiController
|
||||
Binput::get('link'),
|
||||
Binput::get('order'),
|
||||
Binput::get('group_id'),
|
||||
(bool) Binput::get('enabled')
|
||||
(bool) Binput::get('enabled', true)
|
||||
));
|
||||
} catch (Exception $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
Loading…
x
Reference in New Issue
Block a user