mybb/mybb — pull request #1655 by Destroy666x (2014-11-22 21:03:20+00:00)
Title: Fix #1654

Avoid unviewable most popular forum caching by checking them inside the
function instead of relying on a global variable available only in
stats.php (while the function is used in several places).

https://github.com/mybb/mybb/issues/1654