From ab185dd57cf400368ba89ce782e711c5794b5594 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 10 May 2016 19:05:00 +0000 Subject: [PATCH] Bug 16496 - accountlines.issue_id not set when new overdue is processed It appears that somehow the adding of issue_id to accountlines for new fines was missed! This is incredibly important, otherwise UpdasteFine will always create a new fine! Test Plan: 1) Create a new overdue checkout 2) Run fines.pl to generate an accountline for it 3) Note it has no issue_id 4) Apply this patch 5) Repeat steps 1 and 2 6) Note it now has an issue_id! --- C4/Overdues.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 40f49a7..3f0c32d 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -614,6 +614,7 @@ sub UpdateFine { amountoutstanding => $amount, lastincrement => $amount, accountno => $nextaccntno, + issue_id => $issue_id, } )->store(); } -- 2.1.4