https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15757

--- Comment #20 from M. Tompsett <mtomp...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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/

Reply via email to