summaryrefslogtreecommitdiff
path: root/templates/themes/rrdtool/theme.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 15:27:46 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 15:27:46 +1000
commitb0a44e1a5cdee1c7f726cd4816289d3a58d45729 (patch)
treef3945e1884f6ec58baa5b1893a867c403211df61 /templates/themes/rrdtool/theme.php
parent7d03e2c5272792506cd821ff3001aed50435837f (diff)
various typos
Diffstat (limited to 'templates/themes/rrdtool/theme.php')
-rw-r--r--templates/themes/rrdtool/theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/themes/rrdtool/theme.php b/templates/themes/rrdtool/theme.php
index 37b92cd9..22bb5690 100644
--- a/templates/themes/rrdtool/theme.php
+++ b/templates/themes/rrdtool/theme.php
@@ -41,8 +41,8 @@
if($action == 'cron') {
$query = prepare(sprintf("SELECT COUNT(*) AS `count` FROM `posts_%s` WHERE `time` >= :time", $board));
- $query->bindValue(':time', time() - $this->interval, PDO::PARAM_INT):
- $query->exeucte() or error(db_error($query));
+ $query->bindValue(':time', time() - $this->interval, PDO::PARAM_INT);
+ $query->execute() or error(db_error($query));
$count = $query->fetch();
$count = $count['count'];