summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'post.php')
-rw-r--r--post.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/post.php b/post.php
index 78d1fd60..0b0e0a64 100644
--- a/post.php
+++ b/post.php
@@ -296,7 +296,8 @@
if(!$OP) {
mysql_query(
- sprintf("UPDATE `posts` SET `bump` = '%d' WHERE `id` = '%s' AND `thread` IS NULL",
+ sprintf("UPDATE `posts_%s` SET `bump` = '%d' WHERE `id` = '%s' AND `thread` IS NULL",
+ mysql_real_escape_string($board['uri']),
time(),
$post['thread']
), $sql) or error(mysql_error($sql));