summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-13 19:38:42 -0500
committerDan McGee <dan@archlinux.org>2009-10-13 19:38:42 -0500
commitbcda0ab66b9722ae15c10645aa44bb1099d79a93 (patch)
tree99dea0632cf194acffc4a6a4dadbc7fbcae480a3 /templates/packages/details.html
parent7a2ae6b375410af1c34f65381b48ad5af21eb74d (diff)
reporead: don't blow up on division by zero
We didn't sanity check the length of the DB set, so if it was zero we would blow up. Add a sanity check and also limit the whole thing to only apply if there are > 20 packages in a given {repo, arch} combo. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
0 files changed, 0 insertions, 0 deletions