forked from leftypol/leftypol
boards now have individual tables.
This commit is contained in:
parent
f753b709ff
commit
41daaa16b1
3 changed files with 24 additions and 23 deletions
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue