]> 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)
committerJesse Weaver <jweaver@bywatersolutions.com>
Tue, 19 Jan 2016 21:59:28 +0000 (14:59 -0700)
commit1eab5c199d21a622abde7e47ca248d80e882ca46
tree838a7c9c0d34f1e7f1ad233760b7e1fdb70fbf92
parent8db6b0f5330f16d4e3f100987597d0ce72645d07
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>
C4/Biblio.pm