Skip to content

Commit 47243b7

Browse files
committed
fixup! [Bristol][Alloy] Quote grep to match category brackets
1 parent 47189c2 commit 47243b7

File tree

1 file changed

+1
-1
lines changed
  • perllib/Open311/Endpoint/Integration/UK/Bristol

1 file changed

+1
-1
lines changed

perllib/Open311/Endpoint/Integration/UK/Bristol/Alloy.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ sub process_attributes {
3333

3434
my $attributes_values = $self->config->{'request_attribute_to_values'};
3535
my $code = $args->{service_code_alloy};
36-
if (grep { $code =~ /\Q$_\E/ } keys %{
36+
if (grep { $code eq $_ } keys %{
3737
{
3838
%{$self->config->{service_whitelist}->{'SC-Street Cleansing'} || {} },
3939
%{$self->config->{service_whitelist}->{'Abandoned bikes/scooters'} || {} }

0 commit comments

Comments
 (0)