https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25440
--- Comment #9 from Andrew Nugged <[email protected]> --- (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. _______________________________________________ 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/
