From b79107a49a549c47218711d25eec903150ce8a3f 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 UpdateFine 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! Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Overdues.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 40f49a793a..3f0c32da64 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.39.5