]> git.koha-community.org Git - koha.git/commit
Bug 15572: TransformHtmlToMarc - rewrite the loop
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 12 Jan 2016 15:49:15 +0000 (16:49 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 25 Jan 2016 15:49:24 +0000 (16:49 +0100)
commit058785aee84db4232c5959c6ce3c3e5373061f24
tree1a023a561652857ca2afa1dcf4c75ac82f26efb2
parent62e0d3221d4b928bd9037f2e4351884f5875a83b
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>
(cherry picked from commit e10f011dd1e639a5291728ef501d0918b049b713)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Biblio.pm