diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
commit | eda7a2d88e13a89e22843203cf4f749c8679b4d7 (patch) | |
tree | 682568bc6f46d262e5755268ac65238af4562b52 /perllib/FixMyStreet/Cobrand/Zurich.pm | |
parent | b862ad1300116978f98eae9a079a22d49fc4f85e (diff) | |
parent | df1494f5a9de03c80764adf6108cbf699f547459 (diff) |
Merge branch '1244-corps-translatable-body-names'
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Zurich.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm index 776350b25..c56f595ca 100644 --- a/perllib/FixMyStreet/Cobrand/Zurich.pm +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -519,7 +519,7 @@ sub admin_report_edit { # Can change category to any other my @categories = $c->model('DB::Contact')->not_deleted->all; - $c->stash->{categories} = [ map { $_->category } @categories ]; + $c->stash->{category_options} = [ map { { name => $_->category, value => $_->category } } @categories ]; } elsif ($type eq 'dm') { @@ -534,7 +534,7 @@ sub admin_report_edit { # Can change category to any other my @categories = $c->model('DB::Contact')->not_deleted->all; - $c->stash->{categories} = [ map { $_->category } @categories ]; + $c->stash->{category_options} = [ map { { name => $_->category, value => $_->category } } @categories ]; } |