diff options
author | Joas Schilling <coding@schilljs.com> | 2018-07-19 10:38:15 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-07-19 10:38:15 +0200 |
commit | 1e137a85b894c7b9e410229d1ce2bf168fc39a17 (patch) | |
tree | f6b18247fc51eb79f31155412afc66fced558e68 /apps/workflowengine/lib | |
parent | b7e32df6603720c7f58b93a97b68cc841c0ad2ff (diff) | |
download | nextcloud-server-1e137a85b894c7b9e410229d1ce2bf168fc39a17.tar.gz nextcloud-server-1e137a85b894c7b9e410229d1ce2bf168fc39a17.zip |
Make sure to always use an array as parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine/lib')
-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'] = []; |