mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-16 19:08:38 +01:00
stats.php: fix typo
This commit is contained in:
parent
1d13433ca4
commit
56127f4ffb
@ -22,7 +22,7 @@ $q = query("SELECT uri FROM ``boards``");
|
|||||||
while ($f = $q->fetch()) {
|
while ($f = $q->fetch()) {
|
||||||
printf("%10s || ", $f['uri']);
|
printf("%10s || ", $f['uri']);
|
||||||
foreach ($variants as list($term, $time)) {
|
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'];
|
$c = $qq->fetch()['count'];
|
||||||
|
|
||||||
printf("%8d | ", $c);
|
printf("%8d | ", $c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user