diff options
author | Mark Longair <mhl@pobox.com> | 2013-10-31 14:54:04 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-10-31 14:54:04 +0000 |
commit | a290c82bdd7369af61b4a5266768382a1755ad1a (patch) | |
tree | 937c41399a483c0d3c3386a0b551d4e7b39af89e /lib/tasks/usage.rb | |
parent | 78b3f77968b3621f7f307b3f2764563f74c923c6 (diff) |
Avoid an error when the statistics column hasn't been populated
The 'if data' needs to be earlier to avoid an error if one of the
statistics columns hasn't been filled in by the
stats:update_public_bodies_stats rake task yet.
Thanks to Louise Crow for pointing this out in code review.
Diffstat (limited to 'lib/tasks/usage.rb')
0 files changed, 0 insertions, 0 deletions