Bug 38928: (QA follow-up)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Baptiste Wojtkowski 2025-06-13 10:29:11 +02:00 committed by Lucas Gass
parent 8b0e4d3c15
commit ce15eacc5e
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 2 deletions

View File

@ -1095,7 +1095,7 @@ sub _openurl_to_ill {
# Otherwise, pass it through untransformed and maybe move it
# to our custom parameters array
if ( !exists $ignore->{$meta_key} ) {
if ($meta_key eq 'id' || $meta_key eq 'rft_id') {
if ( $meta_key eq 'id' || $meta_key eq 'rft_id' ) {
if ( $params->{other}->{$meta_key} =~ /:/ ) {
my ( $k, $v ) = split /:/, $params->{other}->{$meta_key}, 2;
if ( defined $k && defined $v ) {
@ -1104,7 +1104,7 @@ sub _openurl_to_ill {
} else {
$return->{doi} = $params->{other}->{$meta_key};
}
}else{
} else {
push @{$custom_key}, $meta_key;
push @{$custom_value}, $params->{other}->{$meta_key};
}