Fixed escalation calculation for closed tickets.

This commit is contained in:
Martin Edenhofer 2015-09-23 02:29:13 +02:00
parent 8c9daded0e
commit 451fc88e48

View file

@ -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