MyBB Community Forums
[Pushed] Quick reply wrong $postcounter - Printable Version

+- MyBB Community Forums (
+-- Forum: Development (
+--- Forum: MyBB 1.8 Development (
+---- Forum: 1.8 Bugs and Issues (
+----- Forum: Pushed (
+----- Thread: [Pushed] Quick reply wrong $postcounter (/thread-168745.html)

Quick reply wrong $postcounter - Omar G. - 2015-03-21

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.

RE: Quick reply wrong $postcounter - Jones H - 2015-07-02


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