Skip to content
Browse files

Fix for Bug 6239, Merging records broken

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
  • Loading branch information...
1 parent 514a602 commit 0eaa391aa782ffe1ac469a0f624e62faf64c9919 @oleonard oleonard committed with ranginui Apr 20, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 cataloguing/merge.pl
View
12 cataloguing/merge.pl
@@ -109,11 +109,11 @@
my @errors_loop = map{{error => $_}}@errors;
# Parameters
- $template->param({
+ $template->param(
errors => \@errors_loop,
result => 1,
biblio1 => $input->param('biblio1')
- });
+ );
#-------------------------
@@ -129,13 +129,13 @@
# 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,15 +165,15 @@
my @errors_loop = map{{error => $_}}@errors;
# Parameters
- $template->param({
+ $template->param(
errors => \@errors_loop,
biblio1 => $mergereference,
biblio2 => $notreference,
mergereference => $mergereference,
record1 => @record1,
record2 => @record2,
framework => $framework
- });
+ );
}
}
output_html_with_http_headers $input, $cookie, $template->output;

0 comments on commit 0eaa391

Please sign in to comment.
Something went wrong with that request. Please try again.