From 1a977b2714e25aace5c83a5c94eac57976f61ef1 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 6 Jun 2014 16:43:53 -0500
Subject: [PATCH] Retire %{ticket.client_link}

Affected users should upgrade the token to %{recipient.ticket_link}
---
 include/class.ticket.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class.ticket.php b/include/class.ticket.php
index f0d4c770f..5769fb607 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1253,8 +1253,8 @@ class Ticket {
                 return $this->getAuthToken();
                 break;
             case 'client_link':
-                return sprintf('%s/view.php?t=%s&e=%s&a=%s',
-                        $cfg->getBaseUrl(), $this->getNumber(), $this->getEmail(), $this->getAuthToken());
+                return sprintf('%s/view.php?t=%s',
+                        $cfg->getBaseUrl(), $this->getNumber());
                 break;
             case 'staff_link':
                 return sprintf('%s/scp/tickets.php?id=%d', $cfg->getBaseUrl(), $this->getId());
-- 
GitLab