Skip to content

Commit

Permalink
Merge pull request #2298 from Leantime/milestoneDateFixes
Browse files Browse the repository at this point in the history
fix error on empty status
  • Loading branch information
marcelfolaron authored Feb 9, 2024
2 parents 928b5a7 + 5f82d29 commit 0cfd659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Notifications/Services/Messengers.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public function prepareMessage(NotificationModel $notification): array
'fields' => array(
[
'title' => $this->language->__("headlines.project_with_name") . ' ' . $this->projectName,
'value' => $this->language->__("label.todo_status") . ': ' . $statusLabelsArray[$status]['name'] ?? '',
'value' => $this->language->__("label.todo_status") . ': ' . empty($statusLabelsArray[$status]) ? '' : $statusLabelsArray[$status]['name'],
'short' => false,
],
),
Expand Down

0 comments on commit 0cfd659

Please sign in to comment.