Merge pull request #10294 from nextcloud/bugfix/fac-104/expected-array-got-object
Make sure to always use an array as parameter
This commit is contained in:
commit
20f25f1b81
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue