aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Controller/FlowOperations.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/lib/Controller/FlowOperations.php')
-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'] = [];