Merge pull request #178 from nonmakina/bumplockIndicator

Implements fixes and changes to be able to view the bumplock status of a thread
This commit is contained in:
dedushka1 2021-01-19 14:51:08 -05:00 committed by GitHub
commit 6d67ca34f0
5 changed files with 12 additions and 8 deletions

View file

@ -1374,7 +1374,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']);
}