summaryrefslogtreecommitdiff
path: root/templates/themes/rrdtool
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-01 00:47:33 -0400
committerczaks <marcin@6irc.net>2013-08-01 00:47:33 -0400
commit168a4d73cc2c47cd9039ff466b03fb6812fbb677 (patch)
tree418a3d3ba99739fcb4765f914de44b6ecc3f104a /templates/themes/rrdtool
parentcefd5517ac1a532214ac2f47485f63958c87ce25 (diff)
parent5bf0e7f7e76cd3610e0aa692e0c433aca594ee51 (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Diffstat (limited to 'templates/themes/rrdtool')
-rw-r--r--templates/themes/rrdtool/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/rrdtool/theme.php b/templates/themes/rrdtool/theme.php
index 0e0a2f15..a14169a3 100644
--- a/templates/themes/rrdtool/theme.php
+++ b/templates/themes/rrdtool/theme.php
@@ -61,7 +61,7 @@
// debug just the graphing (not updating) with the --debug switch
if (!isset($argv[1]) || $argv[1] != '--debug') {
// Update graph
- $query = query(sprintf("SELECT MAX(`id`) FROM `posts_%s`", $board));
+ $query = query(sprintf("SELECT MAX(`id`) FROM ``posts_%s``", $board));
$count = $query->fetchColumn();
if (!rrd_update($file, Array(