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)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Jul 2018 15:08:56 +0000 (15:08 +0000)
commitd15185025a146656a1ad0d7d5a8eb261581c0f1e
treed1bc0679d1a393f6690311787596ad7f0354a347
parent574cc2f787d0456ddd035dc5911be9192b09f758
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>
misc/migration_tools/bulkmarcimport.pl