boards now have individual tables.
This commit is contained in:
3
post.php
3
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));
|
||||
|
Reference in New Issue
Block a user