mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
Conditions cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@14692 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e5ccc400d5
commit
7d558120d3
@ -279,8 +279,8 @@ class Project < ActiveRecord::Base
|
||||
raise ActiveRecord::Rollback, "Overriding TimeEntryActivity was not successfully saved"
|
||||
else
|
||||
self.time_entries.
|
||||
where(["activity_id = ?", parent_activity.id]).
|
||||
update_all("activity_id = #{project_activity.id}")
|
||||
where(:activity_id => parent_activity.id).
|
||||
update_all(:activity_id => project_activity.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user