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