@@ -1022,8 +1022,8 class Issue < ActiveRecord::Base | |||||
1022 | end |
|
1022 | end | |
1023 | end |
|
1023 | end | |
1024 |
|
1024 | |||
1025 |
|
|
1025 | # Returns true if issue's project is a valid | |
1026 |
|
|
1026 | # parent issue project | |
1027 | def valid_parent_project?(issue=parent) |
|
1027 | def valid_parent_project?(issue=parent) | |
1028 | return true if issue.nil? || issue.project_id == project_id |
|
1028 | return true if issue.nil? || issue.project_id == project_id | |
1029 |
|
1029 |
General Comments 0
You need to be logged in to leave comments.
Login now