summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 57bfa41e0..a45ff53f2 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -292,7 +292,7 @@ class Issue < ActiveRecord::Base
# * or if the status was not part of the new tracker statuses
# * or the status was nil
def tracker=(tracker)
- if tracker != self.tracker
+ if tracker != self.tracker
if status == default_status
self.status = nil
elsif status && tracker && !tracker.issue_status_ids.include?(status.id)