summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Calendar/Formatter/TaskCalendarFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Calendar/Formatter/TaskCalendarFormatter.php b/plugins/Calendar/Formatter/TaskCalendarFormatter.php
index 9286eaf8..4d76b21d 100644
--- a/plugins/Calendar/Formatter/TaskCalendarFormatter.php
+++ b/plugins/Calendar/Formatter/TaskCalendarFormatter.php
@@ -70,7 +70,7 @@ class TaskCalendarFormatter extends BaseFormatter implements FormatterInterface
$events[] = array(
'timezoneParam' => $this->timezoneModel->getCurrentTimezone(),
'id' => $task['id'],
- 'title' => t('#%d', $task['id']).' '.$task['title'],
+ 'title' => t('#%d', isset($task['internal_task_id']) ? $task['internal_task_id'] : $task['id']).' '.$task['title'].' ['.$task['project_name'].']',
'backgroundColor' => $this->colorModel->getBackgroundColor($task['color_id']),
'borderColor' => $this->colorModel->getBorderColor($task['color_id']),
'textColor' => 'black',