X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=serials%2Fcheckexpiration.pl;h=bf4b6e933b5ae505c538adb038c001b0f1eb7cf8;hb=e9dc807b320356df4f5bc9f477b0181340278497;hp=16529b0a7aa23a17e827d73cff3624a28968f334;hpb=df4b588c6e7166a50ca5724fde16e75c2c84d18c;p=koha_fer diff --git a/serials/checkexpiration.pl b/serials/checkexpiration.pl index 16529b0a7a..bf4b6e933b 100755 --- a/serials/checkexpiration.pl +++ b/serials/checkexpiration.pl @@ -60,7 +60,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( query => $query, type => "intranet", authnotrequired => 0, - flagsrequired => { serials => 1 }, + flagsrequired => { serials => 'check_expiration' }, debug => 1, } ); @@ -97,5 +97,6 @@ if ($date) { } $template->param ( DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), + (uc(C4::Context->preference("marcflavour"))) => 1 ); output_html_with_http_headers $query, $cookie, $template->output;