forked from GithubBackups/tinyib
Fix reply count logic
This commit is contained in:
parent
1f1296f864
commit
678d6ef01c
@ -160,7 +160,7 @@ if (isset($_POST['message']) || isset($_POST['file'])) {
|
|||||||
rebuildThread($post['parent']);
|
rebuildThread($post['parent']);
|
||||||
|
|
||||||
if (strtolower($post['email']) != 'sage') {
|
if (strtolower($post['email']) != 'sage') {
|
||||||
if (TINYIB_MAXREPLIES == 0 || numRepliesToThreadByID($post['parent']) < TINYIB_MAXREPLIES) {
|
if (TINYIB_MAXREPLIES == 0 || numRepliesToThreadByID($post['parent']) <= TINYIB_MAXREPLIES) {
|
||||||
bumpThreadByID($post['parent']);
|
bumpThreadByID($post['parent']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user