diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-23 09:08:12 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-23 09:08:12 +0100 |
commit | 55d0afab34953d266824448d279d72787bfd6e07 (patch) | |
tree | 9640df781c74088cb512c0d1ca4f9c8ee5fd950b /perllib/FixMyStreet/App/Controller/Report/New.pm | |
parent | c62870edf51e1bfe04ad11256bd7ba8b5a4ee5d5 (diff) | |
parent | 8fbb9539e8ada7faf6c54c40bda7d059bdfd0c12 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 4c2264c9f..5a33718da 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -621,7 +621,7 @@ sub process_report : Private { $report->latitude( $c->stash->{latitude} ); $report->longitude( $c->stash->{longitude} ); - # Capture wether the may was used + # Capture whether the may was used $report->used_map( $params{skipped} ? 0 : 1 ); # Short circuit unless the form has been submitted @@ -918,7 +918,7 @@ sub generate_map : Private { <input type="hidden" name="pc" value="$pc"> <input type="hidden" name="skipped" value="1"> $cobrand_form_elements -<div id="skipped-map"> +<div> END_MAP_HTML } @@ -934,9 +934,6 @@ END_MAP_HTML ); } - # get the closing for the map - $c->stash->{map_end} = FixMyStreet::Map::display_map_end(1); - return 1; } |