diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-21 00:33:41 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-21 00:33:41 +0000 |
commit | f7c46612fd1ae32e738acfc084abb674d1c1487a (patch) | |
tree | 04641936f2261595855b62073040e074129382c4 /perllib/FixMyStreet/App/Controller | |
parent | bd9738d1e9cae14125d2e926bc7bfb87be186805 (diff) |
Use correct method names.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index bb7c8dea0..afe180c29 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -99,10 +99,10 @@ sub load_updates : Private { my @combined; while (my $update = $updates->next) { - push @combined, [ $update->{confirmed}, $update ]; + push @combined, [ $update->confirmed, $update ]; } while (my $update = $questionnaires->next) { - push @combined, [ $update->{whenanswered}, $update ]; + push @combined, [ $update->whenanswered, $update ]; } @combined = map { $_->[1] } sort { $a->[0] <=> $b->[0] } @combined; $c->stash->{updates} = \@combined; |