aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-09 11:57:06 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-09 11:57:06 +0100
commit0f7571bffcf898faf3a93c7aa595614ea5febc04 (patch)
tree31c4cd45cd5186a4098946742f0089c9cb81488f /perllib/FixMyStreet/SendReport
parentf738e18d1dc27aa1dbba0695a4d54d15ecd4cbf4 (diff)
parent097b57c516231b5c500ab521af5d52cf403ea88e (diff)
Merge branch 'send-reopen-comment-option'
Diffstat (limited to 'perllib/FixMyStreet/SendReport')
-rw-r--r--perllib/FixMyStreet/SendReport/Email.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm
index 4307694a1..1b484aefe 100644
--- a/perllib/FixMyStreet/SendReport/Email.pm
+++ b/perllib/FixMyStreet/SendReport/Email.pm
@@ -71,7 +71,7 @@ sub send {
}
my ($verbose, $nomail) = CronFns::options();
- my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($row->cobrand)->new();
+ my $cobrand = $row->get_cobrand_logged;
$cobrand = $cobrand->call_hook(get_body_handler_for_problem => $row) || $cobrand;
my $params = {