Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-19 11:38:15 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-19 11:38:15 +0300
commit1e137a85b894c7b9e410229d1ce2bf168fc39a17 (patch)
treef6b18247fc51eb79f31155412afc66fced558e68 /apps/workflowengine
parentb7e32df6603720c7f58b93a97b68cc841c0ad2ff (diff)
Make sure to always use an array as parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine')
-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'] = [];