Implements fixes and changes to be able to view the bumplock status of a thread

This commit is contained in:
nonmakina 2021-01-17 21:31:06 -06:00
parent 48650d8ddd
commit 1acb060694
5 changed files with 11 additions and 7 deletions

View file

@ -1357,7 +1357,7 @@ function handle_post(){
query('INSERT INTO ``cites`` VALUES ' . implode(', ', $insert_rows)) or error(db_error());
}
if (!$post['op'] && strtolower($post['email']) != 'sage' && !$thread['sage'] && ($config['reply_limit'] == 0 || $numposts['replies']+1 < $config['reply_limit'])) {
if (!$post['op'] && strtolower($post['email']) != 'sage' && !$thread['sage'] && ($config['reply_limit'] == 0 || $numposts['replies'] < $config['reply_limit'])) {
bumpThread($post['thread']);
}