From 986f0acb00f34e720c48de67060c2479a63c94f3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Oct 2011 09:05:54 +0000 Subject: [PATCH] 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 --- app/models/changeset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/changeset.rb b/app/models/changeset.rb index d87dd2610..3dae86ec1 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -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