Make sure to always use an array as parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
b7e32df660
commit
1e137a85b8
|
@ -111,7 +111,7 @@ class FlowOperations extends Controller {
|
|||
* @return array
|
||||
*/
|
||||
protected function prepareOperation(array $operation) {
|
||||
$checkIds = json_decode($operation['checks']);
|
||||
$checkIds = json_decode($operation['checks'], true);
|
||||
$checks = $this->manager->getChecks($checkIds);
|
||||
|
||||
$operation['checks'] = [];
|
||||
|
|
Loading…
Reference in New Issue