https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25440
--- Comment #7 from Jonathan Druart <[email protected]> --- Comment on attachment 104637 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104637 Bug 25440: Fix for "uninitialized value in string eq" in smart-rules.pl Review of attachment 104637: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=25440&attachment=104637) ----------------------------------------------------------------- ::: admin/smart-rules.pl @@ +284,5 @@ > 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'); > + $cap_fine_to_replacement_price = $cap_fine_to_replacement_price && > $cap_fine_to_replacement_price eq 'on'; What about cap_fine_to_replacement_price = ($cap_fine_to_replacement_price || '') eq 'on'; -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
