mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
fix column naming error in query to count new posts
This commit is contained in:
parent
22bbbd5c23
commit
d39f06473f
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ try {
|
|||
}
|
||||
|
||||
$nb = 0;
|
||||
if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}forum_posts WHERE timemodified > $graph_period")) != false) {
|
||||
if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}forum_posts WHERE modified > $graph_period")) != false) {
|
||||
$nb = $stmt->fetchColumn();
|
||||
}
|
||||
echo "forum_posts.value $nb\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue