From 633434db491f0d39f950df7a7c967beca087df88 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 Content-Type: text/plain; charset=utf-8 This was introduced by bug 34478. To test: Follow the test plan as before, but test for several different patron categories Signed-off-by: Roman Dolny Signed-off-by: Emmi Takkinen Signed-off-by: Marcel de Rooy --- 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.30.2