diff --git a/Koha/Account.pm b/Koha/Account.pm index d04c703671..b120faee0f 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -281,7 +281,7 @@ sub pay { lang => $patron->lang, tables => { borrowers => $self->{patron_id}, - branches => $self->{library_id}, + branches => $library_id, }, substitute => { credit => $payment,