MyBB Community Forums

Full Version: Repeated code in newreply.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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;

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