MyBB Community Forums

Full Version: Quick reply wrong $postcounter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After making a quick in a post where there are soft deleted posts the reply apepasr in the same page, after refreshing the post is moved to another page if applicable.

				// Set post counter
				if($ismod == true)
					$postcounter = $thread['replies'] + $thread['unapprovedposts'] + 1;
					$postcounter = $thread['replies'] + 1;

The ajax quick reply code doesn't considers soft deleted posts and assumes the moderator can see unapproved/deleted posts.

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github:

Thanks for contributing to MyBB!

The MyBB Group