http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6657

--- Comment #18 from Frédéric Demians <[email protected]> ---
(In reply to Jonathan Druart from comment #17)
> Comment on attachment 46517 [details] [review]
> Bug 6657: Follow-up to fix error on authority creation
> 
> Review of attachment 46517 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: C4/Biblio.pm
> @@ +2541,5 @@
> >  
> >              if ( $tag < 10 ) {                              # no code for 
> > theses fields
> >                                                              # in MARC 
> > editor, 000 contains the leader.
> > +                if ( $isbiblio && $tag == $biblionumbertagfield ) {
> > +                    $i += 4;
> 
> Could you explain this line please?

In @params array, for a control field (tag < 10), there is 4 entries. For
example:

tag_001_indicator1_816115
tag_001_indicator2_816115
tag_001_code_00_816115_723352
tag_001_subfield_00_816115_723352

So $i += 4 is done before next in order to move to the next field in the
@params array.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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