From d25e880109f1ce117fe13ff3bfff3f9cfe32ae26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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 --- C4/Overdues.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Overdues.pm b/C4/Overdues.pm index cc67b16..40f49a7 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.1.4