Bug 15572: TransformHtmlToMarc - rewrite the loop
commite10f011dd1e639a5291728ef501d0918b049b713
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 12 Jan 2016 15:49:15 +0000 (12 16:49 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 25 Jan 2016 11:23:16 +0000 (25 12:23 +0100)
tree88a34d23030d03f1a9fe530c06350d3fd96e8c7f
parent45e10ea437c57203dc4dfac8e2960f9aa8d78209
Bug 15572: TransformHtmlToMarc - rewrite the loop

This rewrites the while loop into a for loop, so $i still gets
incremented when we call next

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Make sense. Add readability. Infinite loop no more possible.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
(cherry picked from commit 1eab5c199d21a622abde7e47ca248d80e882ca46)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Biblio.pm