Skip to content

Commit

Permalink
Update Comments.php to fix ticket comment notification url
Browse files Browse the repository at this point in the history
  • Loading branch information
rqi14 authored Jun 11, 2024
1 parent 80c4542 commit a91b8cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Domain/Comments/Services/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 83,7 @@ public function addComment($values, $module, $entityId, $entity): bool
$subject = sprintf($this->language->__("email_notifications.new_comment_todo_with_type_subject"), $this->language->__("label." . strtolower($entity->type)), $entity->id, $entity->headline);
$message = sprintf($this->language->__("email_notifications.new_comment_todo_with_type_message"), $_SESSION["userdata"]["name"], $this->language->__("label." . strtolower($entity->type)), $entity->headline, $values['text']);
$linkLabel = $this->language->__("email_notifications.new_comment_todo_cta");
$currentUrl = BASE_URL . "#/tickets/showTicket/" . $entity->id;
break;
case "project":
$subject = sprintf($this->language->__("email_notifications.new_comment_project_subject"), $entityId, $entity['name']);
Expand Down

0 comments on commit a91b8cc

Please sign in to comment.