Default collapsed value to 0 (always open)

This commit is contained in:
James Brooks 2016-05-05 10:23:18 +01:00
parent 23ff795809
commit bd35db8d87

View File

@ -67,7 +67,7 @@ class ComponentGroupController extends AbstractApiController
$group = dispatch(new AddComponentGroupCommand(
Binput::get('name'),
Binput::get('order', 0),
Binput::get('collapsed')
Binput::get('collapsed', 0)
));
} catch (QueryException $e) {
throw new BadRequestHttpException();