Fixed correct argument order for pending_minutes().

This commit is contained in:
Martin Edenhofer 2016-08-22 12:22:10 +02:00
parent 99801ee7b0
commit 37302ca438

View file

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