summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-19 11:07:00 +0200
committerGitHub <noreply@github.com>2018-07-19 11:07:00 +0200
commit20f25f1b81a0fa2381183e111a546de5ca62117f (patch)
tree231c1f8ce66584d0caf560a3c720f200a6f14ddd /apps
parent9732712ddab67de279d2628fcf5ebdd0fb7ad264 (diff)
parent1e137a85b894c7b9e410229d1ce2bf168fc39a17 (diff)
downloadnextcloud-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.php2
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'] = [];