From 4d6014b95d7b6934cbe0423a18e3c1b23ddb29cf Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 17 Oct 2013 13:40:38 +0000
Subject: [PATCH] Support updating the source of the ticket

Fixes #772
---
 include/class.ticket.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/class.ticket.php b/include/class.ticket.php
index 294291f65..30e4a9917 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1664,6 +1664,7 @@ class Ticket {
             .' ,priority_id='.db_input($vars['priorityId'])
             .' ,topic_id='.db_input($vars['topicId'])
             .' ,sla_id='.db_input($vars['slaId'])
+            .' ,source='.db_input($vars['source'])
             .' ,duedate='.($vars['duedate']?db_input(date('Y-m-d G:i',Misc::dbtime($vars['duedate'].' '.$vars['time']))):'NULL');
 
         if($vars['duedate']) { //We are setting new duedate...
-- 
GitLab