diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 19:08:29 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 19:08:29 +1100 |
| commit | 41daaa16b16146fa90461d514f31a90c71d3b402 (patch) | |
| tree | 5fefc6322cd2a1c799953ae9282e22e11811d841 /post.php | |
| parent | f753b709ff6bec8bdce71993426ba60045a87215 (diff) | |
boards now have individual tables.
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)); |
