diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-17 11:11:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-07-17 11:11:20 +0100 |
commit | 8ea3f36f92f60483d48df3d60de9bbe8a9b5d956 (patch) | |
tree | 8a1adf59dbed5abdda82760f1fa4c73df0ae4c2e | |
parent | 6e62f951039cc06f02d14bc0eafcb51afe0023cd (diff) |
[UK] Allow full email as well as domain in summary lookup.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FixMyStreet.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm index 7c51eddd1..5c2aa2be1 100644 --- a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm +++ b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm @@ -121,7 +121,7 @@ sub _email_to_body { foreach (@data) { chomp; my ($d, $b) = split /\|/; - if ($d eq $domain) { + if ($d eq $domain || $d eq $email) { $body = $b; last; } |