diff --git a/include/class.ticket.php b/include/class.ticket.php index e060b233f34a96b3499fbf9e881d43806689f765..51abcbd62a59148f4f5cbb284defcceb23d4bce3 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1261,8 +1261,10 @@ class Ticket { if($this->isClosed()) $this->reopen(); $this->reload(); - // Change to SLA of the new department - $this->selectSLAId(); + + // Set SLA of the new department + if(!$this->getSLAId()) + $this->selectSLAId(); /*** log the transfer comments as internal note - with alerts disabled - ***/ $title='Ticket transfered from '.$currentDept.' to '.$this->getDeptName();