From b01c74098055d20a4784eb7d088ec6acaea2cf22 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 21 Oct 2014 18:44:33 +0000 Subject: [PATCH] Fixed test failure with MySQL introduced by r13467. git-svn-id: http://svn.redmine.org/redmine/trunk@13468 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index 8fb1935f0..1c1c99dec 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1229,7 +1229,7 @@ class Issue < ActiveRecord::Base count. map do |columns, total| status_id, is_closed, field_value = columns - is_closed = ['t', 'true', true].include?(is_closed) + is_closed = ['t', 'true', '1'].include?(is_closed.to_s) { "status_id" => status_id.to_s, "closed" => is_closed, -- 2.39.5