summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-19 10:38:15 +0200
committerJoas Schilling <coding@schilljs.com>2018-07-19 10:38:15 +0200
commit1e137a85b894c7b9e410229d1ce2bf168fc39a17 (patch)
treef6b18247fc51eb79f31155412afc66fced558e68 /apps/workflowengine/lib
parentb7e32df6603720c7f58b93a97b68cc841c0ad2ff (diff)
downloadnextcloud-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.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'] = [];