From 0696e4f79cd0c48ea353dc0952f7ecfc21257fc8 Mon Sep 17 00:00:00 2001
From: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de>
Date: Wed, 28 Aug 2019 13:13:21 +0200
Subject: [PATCH] Display triggers of workflow in active workflows table
---
classes/table/workflow_table.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/classes/table/workflow_table.php b/classes/table/workflow_table.php
index fd7c6bc..bbaa98d 100644
--- a/classes/table/workflow_table.php
+++ b/classes/table/workflow_table.php
@@ -88,10 +88,11 @@ abstract class workflow_table extends \table_sql {
if ($triggers) {
$triggerstring = $triggers[0]->instancename;
for ($i = 1; $i < count($triggers); $i++) {
- $triggerstring .= ' ';
+ $triggerstring .= ', ';
$triggerstring .= $triggers[$i]->instancename;
}
}
+ return $triggerstring;
}
/**
--
GitLab