diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl index f452fefc04..a08bbad34d 100755 --- a/misc/cronjobs/automatic_renewals.pl +++ b/misc/cronjobs/automatic_renewals.pl @@ -251,6 +251,7 @@ if ( $send_notices && $confirm ) { my $letter = C4::Letters::GetPreparedLetter ( module => 'circulation', letter_code => 'AUTO_RENEWALS', + branchcode => $patron->branchcode, tables => { borrowers => $patron->borrowernumber, issues => $issue->itemnumber,