From 1e137a85b894c7b9e410229d1ce2bf168fc39a17 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 19 Jul 2018 10:38:15 +0200 Subject: Make sure to always use an array as parameter Signed-off-by: Joas Schilling --- apps/workflowengine/lib/Controller/FlowOperations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/workflowengine') 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'] = []; -- cgit v1.2.3