diff options
-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' ); } |