diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-05 15:03:42 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-05 15:03:42 +0000 |
commit | 1b15ca0aea334d20fb0f19fed36bc948668e2a14 (patch) | |
tree | 11c313d6068d624db8a29e1219251ff0e3f66a57 | |
parent | f6441376f7baca7604b54efa7a1c9da29dae7bec (diff) |
It's an array of states.
-rwxr-xr-x | bin/update-all-reports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-all-reports b/bin/update-all-reports index 794ee5368..4c4838c77 100755 --- a/bin/update-all-reports +++ b/bin/update-all-reports @@ -20,7 +20,7 @@ my $fourweeks = 4*7*24*60*60; my $problems = FixMyStreet::App->model("DB::Problem")->search( { - state => FixMyStreet::DB::Result::Problem->visible_states(), + state => [ FixMyStreet::DB::Result::Problem->visible_states() ], }, { columns => [ |