Fixed escalation calculation for closed tickets.
This commit is contained in:
parent
8c9daded0e
commit
451fc88e48
1 changed files with 1 additions and 2 deletions
|
@ -48,10 +48,9 @@ returns
|
|||
if sla
|
||||
calendar = sla.calendar
|
||||
end
|
||||
return if !calendar
|
||||
|
||||
# if no escalation is enabled
|
||||
if !sla
|
||||
if !sla || !calendar
|
||||
|
||||
# nothing to change
|
||||
return true if !escalation_time
|
||||
|
|
Loading…
Reference in a new issue