diff --git a/app/models/miq_report/formats.rb b/app/models/miq_report/formats.rb index ae699996466..c1af2323da2 100644 --- a/app/models/miq_report/formats.rb +++ b/app/models/miq_report/formats.rb @@ -27,7 +27,7 @@ def self.default_format_for(column, suffix, datatype) end def self.default_format_details_for(column, suffix, datatype) - format = FORMATS[default_format_for(column, suffix, datatype)] + format = FORMATS[default_format_for(column.to_sym, suffix, datatype)] if format format = format.deep_clone # Make sure we don't taint the original if DEFAULTS_AND_OVERRIDES[:precision_by_column].key?(column.to_sym)