From d1d1b0393fae1dbd0386383541f6a6603296e917 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 8 Jul 2024 12:45:13 +0000 Subject: [PATCH] Bug 37263: Fix URL param retrieval This was introduced by bug 34478. To test: Follow the test plan as before, but test for several different patron categories --- admin/smart-rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index efe1b91dfb..9410c2ed07 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -555,7 +555,7 @@ elsif ( $op eq "cud-add-open-article-requests-limit" ) { } elsif ( $op eq "cud-set-article-request-fee" ) { - my $category = $input->param('categorycode'); + my $category = $input->param('article_request_fee_category'); my $fee = strip_non_numeric( scalar $input->param('article_request_fee') ); Koha::Exception->throw("No value passed for article request fee") -- 2.39.2