diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-14 17:40:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-14 17:40:13 +0100 |
commit | f941480396c4e8294fccf9aa812d715498085766 (patch) | |
tree | ddae9a7b69e4ce584a45c14d639cbed43cb04457 | |
parent | b842092026d72f04c39473dc9e98bfb1505707ff (diff) |
Default to 0.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index a885bb13d..850433d3c 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -275,6 +275,7 @@ sub load_and_group_problems : Private { my %problem = zip @cols, @problem; if ( !$problem{council} ) { # Problem was not sent to any council, add to possible councils + $problem{councils} = 0; while ($problem{areas} =~ /,($re_councils)(?=,)/g) { add_row( \%problem, $1, \%fixed, \%open ); } |