From ec32630c6d8e868ac00808c794c879a01dc73e5f Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Wed, 13 Nov 2013 11:30:52 -0600
Subject: [PATCH] Fix display of images in FAQ's on client portal

Fixes #138
---
 include/class.faq.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.faq.php b/include/class.faq.php
index 70a7e2540..159a423bb 100644
--- a/include/class.faq.php
+++ b/include/class.faq.php
@@ -60,7 +60,7 @@ class FAQ {
     function getKeywords() { return $this->ht['keywords']; }
     function getQuestion() { return $this->ht['question']; }
     function getAnswer() {
-        return Format::viewableImages($this->ht['answer']);
+        return Format::viewableImages($this->ht['answer'], ROOT_PATH.'image.php');
     }
     function getNotes() { return $this->ht['notes']; }
     function getNumAttachments() { return $this->ht['attachments']; }
-- 
GitLab