app/models/fields/field.rb in fat_free_crm-0.11.1 vs app/models/fields/field.rb in fat_free_crm-0.11.2

- old
+ new

@@ -110,10 +110,10 @@ when 'checkbox' value.to_s == '0' ? "no" : "yes" when 'date' value && value.strftime(I18n.t("date.formats.default")) when 'datetime' - value && value.strftime(I18n.t("time.formats.short")) + value && value.strftime(I18n.t("time.formats.long")) when 'check_boxes' value = YAML.load(value) if value.is_a?(String) value.select(&:present?).in_groups_of(2, false).map {|g| g.join(', ')}.join("<br />".html_safe) if Array === value else value.to_s