diff options
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 1 | ||||
-rw-r--r-- | templates/web/base/report/new/category_extras.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index b60f7ee78..110d268d7 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -226,7 +226,6 @@ sub category_extras_ajax : Path('category_extras') : Args(0) { my $category_extra = ''; my $generate; if ( $c->stash->{category_extras}->{$category} && @{ $c->stash->{category_extras}->{$category} } >= 1 ) { - $c->stash->{report_meta} = {}; $c->stash->{category_extras} = { $category => $c->stash->{category_extras}->{$category} }; $generate = 1; } diff --git a/templates/web/base/report/new/category_extras.html b/templates/web/base/report/new/category_extras.html index 6275cd1b7..c416556e2 100644 --- a/templates/web/base/report/new/category_extras.html +++ b/templates/web/base/report/new/category_extras.html @@ -5,7 +5,7 @@ [% INCLUDE "report/new/unresponsive_body.html" body_id = unresponsive.$category %] [%- END %] - [%- IF report_meta %] + [%- IF category_extras.$category.size %] <h4>[% loc('Additional Information') %]</h4> [%- FOR meta IN category_extras.$category %] [%- meta_name = meta.code -%] |