Commit c027aa85 authored by tmaruyama's avatar tmaruyama
Browse files

fix typo of fix_issue() at Changeset model

Contributed by Sylvain Utard.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0d0a9fd1
...@@ -196,7 +196,7 @@ class Changeset < ActiveRecord::Base ...@@ -196,7 +196,7 @@ class Changeset < ActiveRecord::Base
def fix_issue(issue) def fix_issue(issue)
status = IssueStatus.find_by_id(Setting.commit_fix_status_id.to_i) status = IssueStatus.find_by_id(Setting.commit_fix_status_id.to_i)
if status.nil? 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 return issue
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment