projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9a9576d
)
Bug 23805: (follow-up) Lowercase credit type for UpdateStats
author
Martin Renvoize
<martin.renvoize@ptfs-europe.com>
Mon, 14 Oct 2019 17:19:18 +0000 (18:19 +0100)
committer
Martin Renvoize
<martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 16:35:21 +0000 (17:35 +0100)
Signed-off-by: Kyle Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Account.pm
patch
|
blob
|
history
diff --git
a/Koha/Account.pm
b/Koha/Account.pm
index
04bbd08
..
d04c703
100644
(file)
--- 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},
}