diff options
Diffstat (limited to 'templates/themes/rrdtool/theme.php')
| -rw-r--r-- | templates/themes/rrdtool/theme.php | 4 |
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']; |
