Bugzilla – Attachment 50894 Details for
Bug 16378
Overdues.pm: Can't call method "store" without a package or object reference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference
Bug-16378-Overduespm-Cant-call-method-store-withou.patch (text/plain), 1.15 KB, created by
Jacek Ablewicz
on 2016-04-28 10:32:48 UTC
(
hide
)
Description:
Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference
Filename:
MIME Type:
Creator:
Jacek Ablewicz
Created:
2016-04-28 10:32:48 UTC
Size:
1.15 KB
patch
obsolete
>From fc5706bf56126333c8bc1f7031eb7914a20a3d4b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >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 <abl@biblos.pk.edu.pl> >--- > 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', > } >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16378
:
50888
|
50894
|
50905