From 37302ca438b6917157cbd65dd09da5e37c895bc1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 22 Aug 2016 12:22:10 +0200 Subject: [PATCH] Fixed correct argument order for pending_minutes(). --- app/models/ticket/escalation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ticket/escalation.rb b/app/models/ticket/escalation.rb index 9afb4f9b9..e02746eb3 100644 --- a/app/models/ticket/escalation.rb +++ b/app/models/ticket/escalation.rb @@ -239,7 +239,7 @@ returns 500.times.each { # check if we have pending time in the range to the destination time - pending_minutes = pending_minutes(pending_start_time, destination_time, history_data, biz) + pending_minutes = pending_minutes(pending_start_time, destination_time, biz, history_data) # skip if no pending time is given break if !pending_minutes || pending_minutes <= 0