aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/Alerts.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-11-26 14:05:55 +0000
committerStruan Donald <struan@exo.org.uk>2019-11-26 14:05:55 +0000
commitbb09cc085962d632d4155c648b2cead7d7b1d717 (patch)
treef2360f8fbeba7000a592f40d0c69305124b66034 /perllib/FixMyStreet/Script/Alerts.pm
parentf0dbff290d9573de0f6e33e05419eeae33830f7f (diff)
parent010964c3e56b222f39efb4b25d025e5d7f902dd6 (diff)
Merge branch 'issues/freshdesk/100-state-names-in-email'
Diffstat (limited to 'perllib/FixMyStreet/Script/Alerts.pm')
-rw-r--r--perllib/FixMyStreet/Script/Alerts.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Script/Alerts.pm b/perllib/FixMyStreet/Script/Alerts.pm
index 3d2d784b8..14d6ec479 100644
--- a/perllib/FixMyStreet/Script/Alerts.pm
+++ b/perllib/FixMyStreet/Script/Alerts.pm
@@ -97,7 +97,7 @@ sub send() {
!( $last_problem_state eq '' && $row->{item_problem_state} eq 'confirmed' ) &&
$last_problem_state ne $row->{item_problem_state}
) {
- my $state = FixMyStreet::DB->resultset("State")->display($row->{item_problem_state}, 1, $cobrand);
+ my $state = FixMyStreet::DB->resultset("State")->display($row->{item_problem_state}, 1, $cobrand->moniker);
my $update = _('State changed to:') . ' ' . $state;
$row->{item_text} = $row->{item_text} ? $row->{item_text} . "\n\n" . $update :