[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 6239, Merging records broken

Nicole C. Engard nengard at bywatersolutions.com
Wed Apr 20 21:11:40 CEST 2011


From: Owen Leonard <oleonard at myacpl.org>


Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
 cataloguing/merge.pl |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cataloguing/merge.pl b/cataloguing/merge.pl
index eaf0c97..cc2d01d 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;
-- 
1.7.2.3



More information about the Koha-patches mailing list