From 0eaa391aa782ffe1ac469a0f624e62faf64c9919 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Apr 2011 15:11:40 -0400 Subject: [PATCH] Fix for Bug 6239, Merging records broken Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- cataloguing/merge.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cataloguing/merge.pl b/cataloguing/merge.pl index eaf0c9763a..cc2d01d087 100755 --- a/cataloguing/merge.pl +++ b/cataloguing/merge.pl @@ -109,11 +109,11 @@ if ($merge) { my @errors_loop = map{{error => $_}}@errors; # Parameters - $template->param({ + $template->param( errors => \@errors_loop, result => 1, biblio1 => $input->param('biblio1') - }); + ); #------------------------- @@ -129,13 +129,13 @@ if ($merge) { # Ask the user to choose which record will be the kept if (not $mergereference) { - $template->param({ + $template->param( choosereference => 1, biblio1 => $biblionumber[0], biblio2 => $biblionumber[1], title1 => $data1->{'title'}, title2 => $data2->{'title'} - }); + ); } else { if (scalar(@biblionumber) != 2) { @@ -165,7 +165,7 @@ if ($merge) { my @errors_loop = map{{error => $_}}@errors; # Parameters - $template->param({ + $template->param( errors => \@errors_loop, biblio1 => $mergereference, biblio2 => $notreference, @@ -173,7 +173,7 @@ if ($merge) { record1 => @record1, record2 => @record2, framework => $framework - }); + ); } } output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5