From fc178c27241db127d8a8b6fed056f08ed81f0493 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 31 Jan 2014 23:39:50 +0100 Subject: [PATCH] stats.php: fix typo --- tools/stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);