aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/SendReport/Email.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm
index 797b41e91..4507091c7 100644
--- a/perllib/FixMyStreet/SendReport/Email.pm
+++ b/perllib/FixMyStreet/SendReport/Email.pm
@@ -56,7 +56,10 @@ sub get_template {
my ( $self, $row ) = @_;
my $template = 'submit.txt';
- $template = 'submit-brent.txt' if $row->bodies_str eq 2488 || $row->bodies_str eq 2237;
+
+ if ($row->cobrand eq 'fixmystreet') {
+ $template = 'submit-oxfordshire.txt' if $row->bodies_str eq 2237;
+ }
$template = FixMyStreet->get_email_template($row->cobrand, $row->lang, $template);
return $template;