aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-03-12 14:21:44 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-03-12 14:25:35 +0000
commitbcf9858a20adbf75f09a6a3b54d63c8012f54fe9 (patch)
treecbab0176f04a09978eda5532f54af3be13fe3671 /perllib/Open311
parent4df8d9979a4325bf2b47f401b4095654dd43d3a9 (diff)
Add test for de47a7f.
This tests that the default string used by the old-style Open311 update code if there is no incoming string and the report is marked fixed, is translated.
Diffstat (limited to 'perllib/Open311')
-rw-r--r--perllib/Open311/GetUpdates.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311/GetUpdates.pm b/perllib/Open311/GetUpdates.pm
index db5d8ef35..7441f7f6d 100644
--- a/perllib/Open311/GetUpdates.pm
+++ b/perllib/Open311/GetUpdates.pm
@@ -73,7 +73,7 @@ sub update_reports {
if (my $p = $problem->first) {
my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($p->cobrand)->new();
- $cobrand->set_lang_and_domain($p->lang, 1);
+ $cobrand->set_lang_and_domain($p->lang, 1, FixMyStreet->path_to('locale')->stringify );
$p->update_from_open311_service_request( $request, $council_details, $self->system_user );
}
}