diff options
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index dcafade15..9b6be7db6 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -283,6 +283,7 @@ class Issue < ActiveRecord::Base 'assigned_to_id', 'fixed_version_id', 'done_ratio', + 'lock_version', :if => lambda {|issue, user| issue.new_statuses_allowed_to(user).any? } safe_attributes 'watcher_user_ids', |