From 4fb754d3378adac7b9a1e40a0d83df2a7e5c2006 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Thu, 28 Apr 2016 11:47:57 +0200 Subject: [PATCH] Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference Overdues.pm line 588 tries to do an $accountline->set with column outstanding instead of amountoutstanding. This patch fixes it. To test: - Verify that code change is correct. - Try to trigger a situation where an existing fine is updated (see comment in line 574 in C4/Overdues.pm) Signed-off-by: Jacek Ablewicz Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher --- C4/Overdues.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Overdues.pm b/C4/Overdues.pm index cc67b16560..40f49a793a 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -585,7 +585,7 @@ sub UpdateFine { { date => dt_from_string(), amount => $amount, - outstanding => $out, + amountoutstanding => $out, lastincrement => $diff, accounttype => 'FU', } -- 2.39.5