19 May
2020
19 May
'20
8:04 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25440 --- Comment #9 from Andrew Nugged <nugged@gmail.com> --- (In reply to Jonathan Druart from comment #7)
+ 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';
I just mimicked code style in this same block, but of course (and I also like that in Perl) we can undef-protect inline if you want. Should I recreate the patch? -- You are receiving this mail because: You are watching all bug changes.