Bug 20811: Fix wrong usage of ModBiblio
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 May 2018 18:19:09 +0000 (15:19 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 28 Aug 2018 13:09:17 +0000 (15:09 +0200)
commit0fb5af564b9b91cd9412f10f5f8e2e1377c73eab
tree60f065b1cba1eb09a9177323cf916ca8f7420f9c
parent370be68026a2c7ee305078fec55848047b9e7203
Bug 20811: Fix wrong usage of ModBiblio

Since
  commit cefa7c21e28b88351ee8ae0dfefb80a515323df9
  Bug 5635: bulkmarcimport new parameters & features

AddBiblio call has been replaced with ModBiblio, but the return values
are different. We should not replace the value of $biblionumber with
what returns this subroutine.

Test plan:
If you are familiar with bulkmarcimport.pl you should know what to test,
I am not.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit d15185025a146656a1ad0d7d5a8eb261581c0f1e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit c76d5b4b4a531e408fbaa5a9a7a523a749638764)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/migration_tools/bulkmarcimport.pl