mirror of
https://code.rocketnine.space/tslocum/tinyib.git
synced 2025-01-18 00:28:16 +01:00
Fix call to numRepliesToThreadByID()
This commit is contained in:
parent
0c856c6fb3
commit
1f1296f864
@ -160,7 +160,7 @@ if (isset($_POST['message']) || isset($_POST['file'])) {
|
||||
rebuildThread($post['parent']);
|
||||
|
||||
if (strtolower($post['email']) != 'sage') {
|
||||
if (TINYIB_MAXREPLIES == 0 || numRepliesToThreadByID($id) < TINYIB_MAXREPLIES) {
|
||||
if (TINYIB_MAXREPLIES == 0 || numRepliesToThreadByID($post['parent']) < TINYIB_MAXREPLIES) {
|
||||
bumpThreadByID($post['parent']);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user