Compatibility with Redmine 2.1 fix