MyBB Community Forums

Full Version: unnecessary fallback for zero users at newest member stat
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a fallback if there is no newest member found for being shown in the stats.

This fallback is unnecessary because:
- there must be at least 1 member (admin/owner of the site)
- if there are zero members the forum is corrupt and broken so it shouldn't be expected as a normal case

This files and lines are related to the fallback I'm talking about:
1) https://github.com/mybb/mybb/blob/3b3455...ng.php#L49
2) https://github.com/mybb/mybb/blob/3b3455...x.php#L287
You're totally right but it doesn't hurt anyone having that there, there are many other issues which require our attention now. I'm rejecting this though you raise a valid point. Thanks Smile