fixes bug #229: Missing global $mybb