Skip to content
Snippets Groups Projects
Commit fd459e85 authored by Peter Rotich's avatar Peter Rotich
Browse files

Set SLA on transfer *ONLY* when a ticket doesn't have one. Overwriting...

Set SLA on transfer *ONLY* when a ticket doesn't have one. Overwriting manually set SLA is the concern here...
parent 64ac13cd
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment