From efe3a3e668f10f9a5f64654ab8ea42c02e732405 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Tue, 5 Jan 2016 18:47:13 +0000
Subject: [PATCH] oops: Make $cfg  global

---
 include/class.client.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/class.client.php b/include/class.client.php
index 932a5bde6..9a624e13c 100644
--- a/include/class.client.php
+++ b/include/class.client.php
@@ -53,6 +53,8 @@ implements EmailContact, ITicketUser, TemplateVariable {
     }
 
     function getVar($tag) {
+        global $cfg;
+
         switch (strtolower($tag)) {
         case 'ticket_link':
             $qstr = array();
-- 
GitLab