From 39021b02a709af7fa11e06dad47cdd47674a623b Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 6 Jun 2014 12:37:25 -0500
Subject: [PATCH] Display external images and original links on thanks

Previously, external images were mucked up and links were routed through
l.php, which requires a client sign in. If a client were not signed in when
creating a ticket. The links would not work correctly.
---
 open.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/open.php b/open.php
index fe454521b..9201d15c9 100644
--- a/open.php
+++ b/open.php
@@ -69,8 +69,8 @@ if($ticket
             (($topic = $ticket->getTopic()) && ($page = $topic->getPage()))
             || ($page = $cfg->getThankYouPage())
         )) {
-    //Thank the user and promise speedy resolution!
-    echo Format::display($ticket->replaceVars($page->getBody()));
+    // Thank the user and promise speedy resolution!
+    echo Format::viewableImages($ticket->replaceVars($page->getBody()));
 }
 else {
     require(CLIENTINC_DIR.'open.inc.php');
-- 
GitLab