]> source.dussan.org Git - redmine.git/commitdiff
fix typo of fix_issue() at Changeset model
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Oct 2011 09:05:54 +0000 (09:05 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Oct 2011 09:05:54 +0000 (09:05 +0000)
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/changeset.rb

index d87dd26100f2a1abff2c9df7f95d6f5050bebbdb..3dae86ec131724b5cd8280686933fb9c6e86bb83 100644 (file)
@@ -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