Bug 34478: ILL INTRA: deprecation check

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Pedro Amorim 2024-02-05 12:31:21 -01:00 committed by Jonathan Druart
parent 78c8ab3744
commit a24596709a
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ use Koha::Notice::Templates;
use Koha::AuthorisedValues;
use Koha::Illcomment;
use Koha::Illrequests;
use Koha::Illrequest;
use Koha::Illbatches;
use Koha::Illrequest::Workflow::Availability;
use Koha::Illrequest::Workflow::TypeDisclaimer;
@ -51,6 +52,8 @@ unless ( C4::Context->preference('ILLModule') ) {
exit;
}
Koha::Illrequest->check_url_param_deprecation($params);
my $op = $params->{op} // $params->{method} // 'illlist';
my ( $template, $patronnumber, $cookie ) = get_template_and_user( {