diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-04 08:15:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-04 08:15:30 +0000 |
commit | d75bd4db62979ca208eadbafedb2d1dd4ac5fe1a (patch) | |
tree | ca21b58204ebb1853152a478460014dc1e45df31 /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 33ffaaf0c28859cd055ab1aaa1be797ac1387a7d (diff) |
Set body needed for redirect function (this whole area/body confusion here needs looking at).
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 781dee698..ef7410962 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -340,6 +340,8 @@ sub ward_check : Private { } } # Given a false ward name + $c->stash->{body} = $c->stash->{area} + unless $c->stash->{body}; $c->detach( 'redirect_body' ); } |