2020-10-16, 10:32 AM
The following piece of code is repeated multiple times without it being necessary in
https://github.com/mybb/mybb/blob/feature/newreply.php
newreply.php
.https://github.com/mybb/mybb/blob/feature/newreply.php
if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)
{
$mybb->settings['postsperpage'] = 20;
}