From 5cb133d9a3c3df00e897a3e32f9c8566be4fa249 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Andr=C3=A9=20Santoni?= Date: Wed, 26 May 2010 09:33:26 +0200 Subject: [PATCH] (MT #3697) Fixed GetAuthorityRecords Signed-off-by: Galen Charlton --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 3433b21170..be093f0e47 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -250,7 +250,7 @@ sub GetAuthorityRecords { foreach my $authid ( split( / /, $cgi->param('id') ) ) { # Get the record as XML string, or error code - my $record = GetAuthorityXML( $_ ) || "RecordNotFound"; + my $record = GetAuthorityXML($authid) || "RecordNotFound"; $record =~ s/<\?xml(.*)\?>//go; $records .= $record; } -- 2.39.5