diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 14:21:44 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 14:25:35 +0000 |
commit | bcf9858a20adbf75f09a6a3b54d63c8012f54fe9 (patch) | |
tree | cbab0176f04a09978eda5532f54af3be13fe3671 /perllib | |
parent | 4df8d9979a4325bf2b47f401b4095654dd43d3a9 (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')
-rw-r--r-- | perllib/Open311/GetUpdates.pm | 2 |
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 ); } } |