[Koha-bugs] [Bug 8714] Poorly ordered and triggers warning in marctagstructure.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 4 11:02:18 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8714
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11942|0 |1
is obsolete| |
--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 11953
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11953&action=edit
Bug 8714 - Poorly ordered and triggers warning in marctagstructure.pl
An array boundary check was after a comparison using the array.
By changing the logic which had " and ( $j < $cnt)" to be at the
beginning "( $j < $cnt ) and ", the warning is no longer shown
in the error log.
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list