From 4f325193be4f16a9658258fecd525e71917156a0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 26 Feb 2017 16:06:09 -0500 Subject: Add class SubtaskListFormatter --- app/EventBuilder/SubtaskEventBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/EventBuilder') 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'); -- cgit v1.2.3