Bugzilla – Attachment 94163 Details for
Bug 23805
Add a dedicated credit_types table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23805: (follow-up) Lowercase credit type for UpdateStats
Bug-23805-follow-up-Lowercase-credit-type-for-Upda.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2019-10-15 08:47:43 UTC
(
hide
)
Description:
Bug 23805: (follow-up) Lowercase credit type for UpdateStats
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-10-15 08:47:43 UTC
Size:
1.12 KB
patch
obsolete
>From a2956ddeac6415d89b5d3eac64699bac4284debb Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 14 Oct 2019 18:19:18 +0100 >Subject: [PATCH] Bug 23805: (follow-up) Lowercase credit type for UpdateStats > >--- > Koha/Account.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 319cf45239..420cde65ec 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -247,7 +247,7 @@ sub pay { > UpdateStats( > { > branch => $library_id, >- type => $type, >+ type => lc($type), > amount => $amount, > borrowernumber => $self->{patron_id}, > } >@@ -403,7 +403,7 @@ sub add_credit { > UpdateStats( > { > branch => $library_id, >- type => $credit_type, >+ type => lc($credit_type), > amount => $amount, > borrowernumber => $self->{patron_id}, > } >-- >2.20.1
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 23805
:
94153
|
94154
|
94155
|
94156
|
94157
|
94158
|
94159
|
94160
|
94161
|
94162
|
94163
|
94164
|
94166
|
94167
|
94168
|
94169
|
94170
|
94171
|
94172
|
94173
|
94174
|
94175
|
94176
|
94177
|
94178
|
94801
|
94815
|
94832
|
94895