mybb/mybb — pull request #1677 by Evenprime (2014-12-04 18:44:57+00:00)
Title: Actual fix for #1660

Set the warning type id correctly or not at all. But in any case do not
set the type id = thread id.

See this post for details: