summaryrefslogtreecommitdiff
path: root/app/EventBuilder/SubtaskEventBuilder.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/EventBuilder/SubtaskEventBuilder.php')
-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');