diff --git a/circ/circulation.pl b/circ/circulation.pl
index 5bc227d032..a07b691607 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -204,6 +204,8 @@ else {
$session->clear('auto_renew');
}
+$template->param( auto_renew => $session->param('auto_renew') );
+
my ($datedue,$invalidduedate);
my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
@@ -427,7 +429,6 @@ if (@$barcodes) {
$template_params->{getTitleMessageIteminfo} = $biblio->title;
$template_params->{getBarcodeMessageIteminfo} = $item->barcode;
$template_params->{NEEDSCONFIRMATION} = 1;
- $template_params->{auto_renew} = $session->param('auto_renew');
$confirm_required = 1;
}
}
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index d83509247f..e532863b3f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -449,6 +449,7 @@
+