Prevent error when Mantis version.date_order is nil (#7476).
Authored by: jplang 2011-01-28
Parent: [r4764]
Child: [r4766]