##// END OF EJS Templates
Conditions cleanup....
Jean-Philippe Lang -
r14310:7d558120d3cf
parent child
Show More
@@ -279,8 +279,8 class Project < ActiveRecord::Base
279 raise ActiveRecord::Rollback, "Overriding TimeEntryActivity was not successfully saved"
279 raise ActiveRecord::Rollback, "Overriding TimeEntryActivity was not successfully saved"
280 else
280 else
281 self.time_entries.
281 self.time_entries.
282 where(["activity_id = ?", parent_activity.id]).
282 where(:activity_id => parent_activity.id).
283 update_all("activity_id = #{project_activity.id}")
283 update_all(:activity_id => project_activity.id)
284 end
284 end
285 end
285 end
286 end
286 end
General Comments 0
You need to be logged in to leave comments. Login now