Resolve #3288
If Binput::get('enabled') is not defined this will return NULL which resulted in a false.
Updated tests
This commit is contained in:
@@ -124,7 +124,7 @@ class ComponentController extends AbstractApiController
|
||||
Binput::get('link'),
|
||||
Binput::get('order'),
|
||||
Binput::get('group_id'),
|
||||
(bool) Binput::get('enabled'),
|
||||
Binput::get('enabled', $component->enabled),
|
||||
Binput::get('meta', null),
|
||||
(bool) Binput::get('silent', false)
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user