Skip to content

Commit

Permalink
Removed hardcoded url
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutsNL committed Jun 22, 2023
1 parent 479b0a7 commit 3e8a4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public static function PreItemAdd(Ticket $item) : void

// Is found ticket closed? if so do nothing.
if($reference->fields['status'] != CommonITILObject::CLOSED) {

// @todo: This link needs some work to generate FQDN
if(self::createFollowup($item, $reference) == true) {
Session::addMessageAfterRedirect(__("<a href='https://mc.trippie.fun/glpi/front/ticket.form.php?id=$key'>New ticket was matched to open ticket: $key and was added as a followup</a>"), true, INFO);
Session::addMessageAfterRedirect(__("<a href='/front/ticket.form.php?id=$key'>New ticket was matched to open ticket: $key and was added as a followup</a>"), true, INFO);
}
}
}
Expand Down

0 comments on commit 3e8a4f3

Please sign in to comment.