Bugzilla – Attachment 79407 Details for
Bug 21396
Missing use statements in Koha::Account
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21396: Add 2 missing use statements in Koha::Account
Bug-21396-Add-2-missing-use-statements-in-KohaAcco.patch (text/plain), 1.20 KB, created by
Michal Denar
on 2018-09-26 11:59:14 UTC
(
hide
)
Description:
Bug 21396: Add 2 missing use statements in Koha::Account
Filename:
MIME Type:
Creator:
Michal Denar
Created:
2018-09-26 11:59:14 UTC
Size:
1.20 KB
patch
obsolete
>From 533f71d0b512a82ba11a2b6026c298f648c87992 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 21 Sep 2018 17:55:40 -0300 >Subject: [PATCH] Bug 21396: Add 2 missing use statements in Koha::Account > >1. require C4::Letters must be use C4::Letters (from bug 19191) > >2. There is call to C4::Circulation::ReturnLostItem, but no use of >C4::Circulation (from bug 20631) > >Test plan: >finger crossed, I ran the tests from t/db_dependent/Koha and they all >passed > >Signed-off-by: Michal Denar <black23@gmail.com> >--- > Koha/Account.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 4926f9e..2db8d0d 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -23,6 +23,8 @@ use Carp; > use Data::Dumper; > use List::MoreUtils qw( uniq ); > >+use C4::Circulation qw( ReturnLostItem ); >+use C4::Letters; > use C4::Log qw( logaction ); > use C4::Stats qw( UpdateStats ); > >@@ -264,7 +266,6 @@ sub pay { > } > > if ( C4::Context->preference('UseEmailReceipts') ) { >- require C4::Letters; > if ( > my $letter = C4::Letters::GetPreparedLetter( > module => 'circulation', >-- >2.1.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 21396
:
79255
|
79407
|
79486
|
81981
|
81982