(MT #3697) Fixed GetAuthorityRecords
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
2fb3f22f62
commit
5cb133d9a3
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue