Patch by Imre Tóth (http://www.redmine.org/boards/3/topics/29545?r=39303#message-39303)
Redmine 2.3.2 fix
update change. but not remember why.
using theirs