Bug 19287: (follow-up) Use the notice defined for the library of the patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 24 May 2018 13:09:36 +0000 (10:09 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 24 May 2018 13:11:48 +0000 (10:11 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

circ/pendingreserves.pl

index 2602daf..7f03d88 100755 (executable)
@@ -71,7 +71,7 @@ if ( $op eq 'cancel_reserve' and $reserve_id ) {
             my $letter = C4::Letters::GetPreparedLetter(
                 module => 'reserves',
                 letter_code => 'CANCEL_HOLD_ON_LOST',
-                branchcode => $patron->homebranch,
+                branchcode => $patron->branchcode,
                 lang => $patron->lang,
                 tables => {
                     branches    => $library->branchcode,