Merge pull request #1 from cachethq/master

sync
This commit is contained in:
Phecho
2015-11-11 09:48:10 +08:00

View File

@@ -114,7 +114,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();