[Koha-bugs] [Bug 15414] Noisy warns when creating new layout for patron card creator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 01:39:19 CEST 2016


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

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 50686
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50686
Bug 15414: Silencing warns triggered by creating a new layout in patron card
creator

Review of attachment 50686:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15414&attachment=50686)
-----------------------------------------------------------------

::: patroncards/edit-layout.pl
@@ +236,4 @@
>  elsif  ($op eq 'new') { # this is a new layout
>      $layout = C4::Patroncards::Layout->new();
>      my @fields = ();
> +    for (my $field = 0; $field < 4; $field++) {     # limit 3 text fields

Nice catch on the initialization missing.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list