From: Paul Poulain <[email protected]>
(thx to Fridolyn)
---
misc/migration_tools/rebuild_zebra.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/migration_tools/rebuild_zebra.pl
b/misc/migration_tools/rebuild_zebra.pl
index 2bdcaa4..f125e73 100755
--- a/misc/migration_tools/rebuild_zebra.pl
+++ b/misc/migration_tools/rebuild_zebra.pl
@@ -420,7 +420,7 @@ sub get_raw_marc_record {
if ($noxml) {
my $fetch_sth = $dbh->prepare_cached("SELECT marc FROM biblioitems
WHERE biblionumber = ?
UNION SELECT marc from
deletedbiblioitems where biblionumber=?");
- $fetch_sth->execute($record_number);
+ $fetch_sth->execute($record_number,$record_number);
if (my ($blob) = $fetch_sth->fetchrow_array) {
$marc = MARC::Record->new_from_usmarc($blob);
$fetch_sth->finish();
--
1.7.1
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/