aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-10 15:33:20 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-10-29 18:03:54 +0100
commit6830daf1049b9dd6179987f9e5d776ed61efb06c (patch)
tree63900e13d8d05244b05c6a772de05435f50bee42
parente72f58b000efbca5efa74098dbfa7f2f7418bcc0 (diff)
downloadnextcloud-server-6830daf1049b9dd6179987f9e5d776ed61efb06c.tar.gz
nextcloud-server-6830daf1049b9dd6179987f9e5d776ed61efb06c.zip
Decode list of events when returning them
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--apps/workflowengine/lib/Manager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index 07438b2f7cb..1c2c76a94c4 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -561,6 +561,8 @@ class Manager implements IManager {
$operation['checks'][] = $check;
}
+ $operation['events'] = json_decode($operation['events'], true);
+
return $operation;
}