Fixes #1249 - memberlist.php "undefined"

Fixes https://github.com/mybb/mybb/issues/1249