https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15757 --- Comment #20 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 50015 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50015 Bug 15757: Make issuelength default to null instead of 0 Review of attachment 50015: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15757&attachment=50015) ----------------------------------------------------------------- ::: admin/smart-rules.pl @@ +140,4 @@
$maxonsiteissueqty =~ s/\s//g; $maxonsiteissueqty = undef if $maxonsiteissueqty !~ /^\d+/; my $issuelength = $input->param('issuelength'); + $issuelength = $issuelength eq q{} ? undef : $issuelength;
Change 142 to: my $issuelength = $input->param('issuelength') // q{}; -- to avoid noise triggered when parameter is undef. -- You are receiving this mail because: You are watching all bug changes.