I finished and send the patch for the issue #6005.
In mantisbt, open source, php by DracoBlue @ 10 Jan 2006