]> git.koha-community.org Git - koha.git/commit
Bug 8714 - Poorly ordered and triggers warning in marctagstructure.pl
authorMark Tompsett <mtompset@hotmail.com>
Mon, 3 Sep 2012 04:27:58 +0000 (12:27 +0800)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 17 Sep 2012 16:25:28 +0000 (18:25 +0200)
commitb20c00ee2d678c2cdf49115ebb10f02802ada907
tree0e7980b1ce091e6eb936861a014178a1613dad2f
parent46abff69babb7654bfac640a0474d6d8a4ab6291
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@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
admin/marctagstructure.pl