aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-08-03 12:05:42 +0100
committerStruan Donald <struan@exo.org.uk>2011-08-03 12:05:42 +0100
commit83666c88b4df6e30f1e292d06f475fbf5ea38faf (patch)
tree5e566800a9b51da66a282473071d6e40a1517b95 /perllib/FixMyStreet/App/Controller/Report/New.pm
parent731c7b85766598ebf94a8498589ece048e7c2006 (diff)
rejig data structure so we can sort the extra fields
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm2
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 2311b4aff..63add43ee 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -500,7 +500,7 @@ sub setup_categories_and_councils : Private {
unless ( $seen{$contact->category} ) {
push @category_options, $contact->category;
- $category_extras{ $contact->category } = $contact->extra
+ $category_extras{ $contact->category } = [ values %{$contact->extra} ]
if $contact->extra;
}
$seen{$contact->category} = 1;