Fixes #902 - PHP Error in class_parser.php

https://github.com/mybb/mybb/commit/95c78b7a200ac7bc8b2d6c276a7442ffee0be6bd#commitcomment-7244226