@@ -, +, @@ smart-rules.pl --- admin/smart-rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/admin/smart-rules.pl +++ a/admin/smart-rules.pl @@ -284,7 +284,7 @@ elsif ($op eq 'add') { my $opacitemholds = $input->param('opacitemholds') || 0; my $article_requests = $input->param('article_requests') || 'no'; my $overduefinescap = $input->param('overduefinescap') || ''; - my $cap_fine_to_replacement_price = $input->param('cap_fine_to_replacement_price') eq 'on'; + my $cap_fine_to_replacement_price = ($input->param('cap_fine_to_replacement_price') || '') eq 'on'; my $note = $input->param('note'); $debug and warn "Adding $br, $bor, $itemtype, $fine, $maxissueqty, $maxonsiteissueqty, $cap_fine_to_replacement_price"; --