mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
remove trailing white-space from app/models/issue.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@14120 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8d121cbec1
commit
1375b5b8c2
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user