summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 8f74ec44e..97808306a 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -487,8 +487,9 @@ class Issue < ActiveRecord::Base
}
safe_attributes 'parent_issue_id',
- :if => lambda {|issue, user| (issue.new_record? || issue.attributes_editable?(user)) &&
- user.allowed_to?(:manage_subtasks, issue.project)
+ :if => lambda {|issue, user|
+ (issue.new_record? || issue.attributes_editable?(user)) &&
+ user.allowed_to?(:manage_subtasks, issue.project)
}
safe_attributes 'deleted_attachment_ids',