From 87334ac67373e277ff05b4fc1a71874f9c62f32e Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Wed, 3 Jun 2015 11:41:59 -0500
Subject: [PATCH] oops: Fix helptopic unset after ticket update

---
 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 1cb11c7f8..6f171936f 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -2520,8 +2520,8 @@ implements RestrictedAccess, Threadable {
         if ($errors)
             return false;
 
-        $this->topic_id = $vars['topic_id'];
-        $this->sla_id = $vars['sla_id'];
+        $this->topic_id = $vars['topicId'];
+        $this->sla_id = $vars['slaId'];
         $this->source = $vars['source'];
         $this->duedate = $vars['duedate']
             ? date('Y-m-d G:i',Misc::dbtime($vars['duedate'].' '.$vars['time']))
-- 
GitLab