From f5b32eb5096858c38cb4104ed6e75f4c7fb3ad5a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 13 Sep 2022 11:09:23 +0100 Subject: [PATCH] Bug 31526: Follow-up for bug 29697 There was a typo in bug 29697 which lead to a code reference error. Test plan 1) Export a record with ISBN from your catalog (Save as MARC) 2) Stage it using the ISBN matching rule (make sure it matched) 3) Manage staged import and click on the Diff link Prior to this patch an error would be thrown, after the patch you should now get the diff view as expected again. Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- tools/showdiffmarc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/showdiffmarc.pl b/tools/showdiffmarc.pl index a4eb7eab08..f981342a83 100755 --- a/tools/showdiffmarc.pl +++ b/tools/showdiffmarc.pl @@ -62,7 +62,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( if ( $type eq 'biblio' ) { my $biblio = Koha::Biblios->find( $recordid ); - $record = $biblio->metadata->record->({ embed_items => 1 }); + $record = $biblio->metadata->record({ embed_items => 1 }); $recordTitle = $biblio->title; } elsif ( $type eq 'auth' ) { -- 2.39.5