##// END OF EJS Templates
Fixed: error on Trac import when :due attribute is nil (#1164)....
Jean-Philippe Lang -
r1391:251b1f75e940
parent child
Show More
@@ -92,7 +92,7 namespace :redmine do
92 92 set_table_name :milestone
93 93
94 94 def due
95 if read_attribute(:due) > 0
95 if read_attribute(:due) && read_attribute(:due) > 0
96 96 Time.at(read_attribute(:due)).to_date
97 97 else
98 98 nil
General Comments 0
You need to be logged in to leave comments. Login now