Fixes #1519 Warning Level can have no action

https://github.com/mybb/mybb/issues/1519