Bug 23805: (follow-up) Lowercase credit type for UpdateStats

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>
This commit is contained in:
Martin Renvoize 2019-10-14 18:19:18 +01:00
parent 9a9576dbd1
commit 66bdfbc0a3
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 2 deletions

View File

@ -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},
}