diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-18 16:39:21 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-19 14:43:26 +0000 |
commit | 3e30cee562d3eae98d73e63dc2d9708b09e24e81 (patch) | |
tree | d9f8249092d189eb4beee360dbebf3588acf5cbc /perllib/FixMyStreet | |
parent | 3ce8e191fdd1f41555b353d589cb6a4a5ef1b38d (diff) |
Fix missed variable name change, and accompanying test.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index c3525b2c9..70bccd910 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -891,7 +891,7 @@ sub process_report : Private { $c->stash->{report_meta} = { map { $_->{name} => $_ } @extra }; $report->extra( \@extra ); } - } elsif ( @{ $c->stash->{area_ids_to_list} } ) { + } elsif ( @{ $c->stash->{bodies_to_list} } ) { # There was an area with categories, but we've not been given one. Bail. $c->stash->{field_errors}->{category} = _('Please choose a category'); |