diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-19 11:07:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 11:07:00 +0200 |
commit | 20f25f1b81a0fa2381183e111a546de5ca62117f (patch) | |
tree | 231c1f8ce66584d0caf560a3c720f200a6f14ddd /apps | |
parent | 9732712ddab67de279d2628fcf5ebdd0fb7ad264 (diff) | |
parent | 1e137a85b894c7b9e410229d1ce2bf168fc39a17 (diff) | |
download | nextcloud-server-20f25f1b81a0fa2381183e111a546de5ca62117f.tar.gz nextcloud-server-20f25f1b81a0fa2381183e111a546de5ca62117f.zip |
Merge pull request #10294 from nextcloud/bugfix/fac-104/expected-array-got-object
Make sure to always use an array as parameter
Diffstat (limited to 'apps')
-rw-r--r-- | apps/workflowengine/lib/Controller/FlowOperations.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Controller/FlowOperations.php b/apps/workflowengine/lib/Controller/FlowOperations.php index 753aa2c26a7..7ed2604ce06 100644 --- a/apps/workflowengine/lib/Controller/FlowOperations.php +++ b/apps/workflowengine/lib/Controller/FlowOperations.php @@ -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'] = []; |