summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-19 13:15:17 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-19 13:15:17 +0000
commit395719392a4f142cd298105b4431d922b22c06c2 (patch)
tree01a71ac1a3d48d7747163c89d2128305d82ba900 /index.php
parentf252b619fc883f6a647b0ef25ea0e983d4b90968 (diff)
downloadpkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar
pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.gz
pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.bz2
pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.xz
pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.zip
show usage time diagram (sort of)
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 846bbd7..d31796b 100644
--- a/index.php
+++ b/index.php
@@ -419,8 +419,8 @@ if ($total > 0) {
$s .= '</table><span style="font-size: 85%;">Does not take<br />build failures<br />into account.</span>';
$s .= '<table style="width:100%;"><caption>Build times</caption>';
- $max = max($build_dates2);
- foreach ($build_dates2 as $time => $count)
+ $max = max($build_dates);
+ foreach ($build_dates as $time => $count)
$s .= sprintf('<tr><td>%d</td><td><span style="width: %dpx; height: 10px; background: #aaa;" title="%d"></span></td></tr>',
$time, round($count / $max * 100), $count);
$s .= '</table>';