fix typo of fix_issue() at Changeset model
Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f1b4a561ba
commit
986f0acb00
|
@ -196,7 +196,7 @@ class Changeset < ActiveRecord::Base
|
|||
def fix_issue(issue)
|
||||
status = IssueStatus.find_by_id(Setting.commit_fix_status_id.to_i)
|
||||
if status.nil?
|
||||
logger.warn("No status macthes commit_fix_status_id setting (#{Setting.commit_fix_status_id})") if logger
|
||||
logger.warn("No status matches commit_fix_status_id setting (#{Setting.commit_fix_status_id})") if logger
|
||||
return issue
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue