From 0c856c6fb32f854528c63d924bca662b074c8e1d Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Mon, 15 Apr 2013 20:01:12 -0700 Subject: [PATCH] Fix reply count logic --- imgboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgboard.php b/imgboard.php index 5939087..7f235c3 100644 --- a/imgboard.php +++ b/imgboard.php @@ -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($id) < TINYIB_MAXREPLIES) { bumpThreadByID($post['parent']); } }