From 6a45c30d771165c6febe961ff0a1c926b42b1fef Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Sun, 26 Dec 2010 17:51:58 +0000 Subject: [PATCH] fix display of measures --- .../src/main/webapp/WEB-INF/app/models/project_measure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb index d4f3efbbc64..071b75aa54b 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb @@ -62,7 +62,7 @@ class ProjectMeasure < ActiveRecord::Base end def formatted_value - if text_value.nil? || value.nil? + if text_value.nil? && value.nil? return nil end if metric.nil? -- 2.39.5