Fixed compatibillity with redmine <2.3
Fixed compatibillity with redmine <2.3