(MT #3697) Fixed GetAuthorityRecords

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Jean-André Santoni 2010-05-26 09:33:26 +02:00 committed by Galen Charlton
parent 2fb3f22f62
commit 5cb133d9a3
1 changed files with 1 additions and 1 deletions

View File

@ -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( $_ ) || "<record><code>RecordNotFound</code></record>";
my $record = GetAuthorityXML($authid) || "<record><code>RecordNotFound</code></record>";
$record =~ s/<\?xml(.*)\?>//go;
$records .= $record;
}