aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-12 12:10:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-12 12:10:39 +0100
commit347f9a89f208ee6495b42f217a800e4eeaea5967 (patch)
tree939c3cfc1810a39b523a2c42acc6ce8748b1861c /perllib/FixMyStreet/App/Controller/Report/New.pm
parent3b340a7c28394aeed0e94eccfeeb14efef54b57a (diff)
Store cobrand/lang upon an /import. Related to #134, though that was actually already fixed.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index a9ec2f935..01cad9bba 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -220,6 +220,8 @@ sub report_import : Path('/import') {
anonymous => 0,
category => '',
areas => '',
+ cobrand => $c->cobrand->moniker,
+ lang => $c->stash->{lang_code},
}
);