boards now have individual tables.

This commit is contained in:
Savetheinternet
2010-12-02 19:08:29 +11:00
parent f753b709ff
commit 41daaa16b1
3 changed files with 24 additions and 23 deletions

View File

@@ -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));