mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Merge pull request #3220 from gazben/patch-1
Add bool cast to boolean Incident parameters
This commit is contained in:
commit
a740d5c8c0
@ -71,11 +71,11 @@ class IncidentController extends AbstractApiController
|
|||||||
Binput::get('name'),
|
Binput::get('name'),
|
||||||
Binput::get('status'),
|
Binput::get('status'),
|
||||||
Binput::get('message', null, false, false),
|
Binput::get('message', null, false, false),
|
||||||
Binput::get('visible', true),
|
(bool) Binput::get('visible', true),
|
||||||
Binput::get('component_id'),
|
Binput::get('component_id'),
|
||||||
Binput::get('component_status'),
|
Binput::get('component_status'),
|
||||||
Binput::get('notify', true),
|
(bool) Binput::get('notify', true),
|
||||||
Binput::get('stickied', false),
|
(bool) Binput::get('stickied', false),
|
||||||
Binput::get('occurred_at'),
|
Binput::get('occurred_at'),
|
||||||
Binput::get('template'),
|
Binput::get('template'),
|
||||||
Binput::get('vars', []),
|
Binput::get('vars', []),
|
||||||
@ -103,11 +103,11 @@ class IncidentController extends AbstractApiController
|
|||||||
Binput::get('name'),
|
Binput::get('name'),
|
||||||
Binput::get('status'),
|
Binput::get('status'),
|
||||||
Binput::get('message'),
|
Binput::get('message'),
|
||||||
Binput::get('visible', true),
|
(bool) Binput::get('visible', true),
|
||||||
Binput::get('component_id'),
|
Binput::get('component_id'),
|
||||||
Binput::get('component_status'),
|
Binput::get('component_status'),
|
||||||
Binput::get('notify', true),
|
(bool) Binput::get('notify', true),
|
||||||
Binput::get('stickied', false),
|
(bool) Binput::get('stickied', false),
|
||||||
Binput::get('occurred_at'),
|
Binput::get('occurred_at'),
|
||||||
Binput::get('template'),
|
Binput::get('template'),
|
||||||
Binput::get('vars', [])
|
Binput::get('vars', [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user