Bugzilla – Attachment 50888 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.10 KB, created by
Marc Véron
on 2016-04-28 09:55:54 UTC
(
hide
)
Description:
Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-28 09:55:54 UTC
Size:
1.10 KB
patch
obsolete
>From 06f9556d236693e9aa56268c77c0fcbff02d2d82 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) >--- > 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