bug fix

On a fresh install of MyBB (with no threads/posts) a fatal MySQL error was generated- this has been resolved.