diff options
| author | czaks <marcin@6irc.net> | 2014-01-31 23:39:50 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-31 23:39:50 +0100 |
| commit | fc178c27241db127d8a8b6fed056f08ed81f0493 (patch) | |
| tree | cde98bf3690193e417452da8977a9f8551c7a8ab /tools | |
| parent | 57ae4e1e9b8f341cdac03614cdd3f8964fce2ba8 (diff) | |
stats.php: fix typo
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/stats.php b/tools/stats.php index 0e834271..5043c788 100755 --- a/tools/stats.php +++ b/tools/stats.php @@ -22,7 +22,7 @@ $q = query("SELECT uri FROM ``boards``"); while ($f = $q->fetch()) { printf("%10s || ", $f['uri']); foreach ($variants as list($term, $time)) { - $qq = query(sprintf("SELECT COUNT(*) as count FROM ``posts_%s`` WHERE time > %d", $f['uri'], time()-$time); + $qq = query(sprintf("SELECT COUNT(*) as count FROM ``posts_%s`` WHERE time > %d", $f['uri'], time()-$time)); $c = $qq->fetch()['count']; printf("%8d | ", $c); |
