MyBB Community Forums
[Pushed] Repeated code in newreply.php - Printable Version

+- MyBB Community Forums (
+-- Forum: Development (
+--- Forum: MyBB 1.8 Development (
+---- Forum: 1.8 Bugs and Issues (
+----- Forum: Pushed (
+----- Thread: [Pushed] Repeated code in newreply.php (/thread-229825.html)

Repeated code in newreply.php - Omar G. - 2020-10-16

The following piece of code is repeated multiple times without it being necessary in newreply.php.
		if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)
			$mybb->settings['postsperpage'] = 20;

RE: Repeated code in newreply.php - Ben - 2020-11-07


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