Skip to content

Commit

Permalink
Fix regex to allow multiple settings without a conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemhall committed Oct 23, 2024
1 parent b43cb95 commit c1ae2ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ sub interchange_header {
# If plugin is set to send Buyer SAN in header *and* the vendor username as buyer SAN is set, send that
# If plugin is set to send Buyer SAN in header *and* the buyer sand should come from the library ean description
if ( $self->{plugin}->retrieve_data('buyer_san_in_header') && $self->{plugin}->retrieve_data('buyer_san_extract_from_library_ean_description') ) {
$self->{sender}->description =~ m/SAN:\{(.*)}/;
$self->{sender}->description =~ m/SAN:\{(.\S*)\}/;
my $ean = $1;
$hdr .= _interchange_sr_identifier(
$ean,
Expand Down

0 comments on commit c1ae2ba

Please sign in to comment.