X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=circ%2Frenew.pl;h=246c26629f7c9365a0ef5c1d1c8825e476b1e511;hb=e0e063a85b654af623ea1da068d6fd23e8ec3833;hp=2b4114e2c9d6d23e1a58781e6a8e4609c3aa9c9c;hpb=15b1f6c7fe472ce4b1c0f73e2f0dbb0fe05a15ad;p=koha.git diff --git a/circ/renew.pl b/circ/renew.pl index 2b4114e2c9..246c26629f 100755 --- a/circ/renew.pl +++ b/circ/renew.pl @@ -24,12 +24,14 @@ use C4::Context; use C4::Auth qw/:DEFAULT get_session/; use C4::Output; use C4::Circulation; +use C4::Koha; use Koha::DateUtils; use Koha::Database; +use Koha::BiblioFrameworks; my $cgi = new CGI; -my ( $template, $librarian, $cookie ) = get_template_and_user( +my ( $template, $librarian, $cookie, $flags ) = get_template_and_user( { template_name => "circ/renew.tt", query => $cgi, @@ -116,4 +118,7 @@ if ($barcode) { ); } +# Checking if there is a Fast Cataloging Framework +$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( 'FA' ); + output_html_with_http_headers( $cgi, $cookie, $template->output );