summaryrefslogtreecommitdiff
path: root/app/EventBuilder
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-26 16:06:09 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-26 16:06:09 -0500
commit4f325193be4f16a9658258fecd525e71917156a0 (patch)
tree898aaf4f18bfa9b2b3a09dbb8f54413154b1d357 /app/EventBuilder
parent4a87fb34ba0a88303282923a73a8fef83d7aada3 (diff)
Add class SubtaskListFormatter
Diffstat (limited to 'app/EventBuilder')
-rw-r--r--app/EventBuilder/SubtaskEventBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/EventBuilder/SubtaskEventBuilder.php b/app/EventBuilder/SubtaskEventBuilder.php
index 5f7e831d..c1a41ae8 100644
--- a/app/EventBuilder/SubtaskEventBuilder.php
+++ b/app/EventBuilder/SubtaskEventBuilder.php
@@ -63,7 +63,7 @@ class SubtaskEventBuilder extends BaseEventBuilder
public function buildEvent()
{
$eventData = array();
- $eventData['subtask'] = $this->subtaskModel->getById($this->subtaskId, true);
+ $eventData['subtask'] = $this->subtaskModel->getByIdWithDetails($this->subtaskId);
if (empty($eventData['subtask'])) {
$this->logger->debug(__METHOD__.': Subtask not found');