diff -r a97bd37e43e9 -r b3fec7467c05 htdocs/index.php
--- a/htdocs/index.php Sun Aug 31 10:13:05 2008 +0000
+++ b/htdocs/index.php Sun Aug 31 10:13:20 2008 +0000
@@ -60,11 +60,11 @@
$count = stats_message_count($channel, 3);
if ( empty($datum) )
echo '
No recent posts.';
- foreach ( $datum as $nick => $pct )
+ foreach ( $datum as $usernick => $pct )
{
$total = round($pct * $count);
$pct = round(100 * $pct, 1);
- echo "$nick - $pct% ($total)\n";
+ echo "$usernick - $pct% ($total)\n";
}
?>
@@ -75,11 +75,11 @@
$count = stats_message_count($channel, 20);
if ( empty($datum) )
echo 'No recent posts.';
- foreach ( $datum as $nick => $pct )
+ foreach ( $datum as $usernick => $pct )
{
$total = round($pct * $count);
$pct = round(100 * $pct, 1);
- echo "$nick - $pct% ($total)\n";
+ echo "$usernick - $pct% ($total)\n";
}
?>