This commit is contained in:
sylor_huang@126.com 2020-03-18 15:37:05 +08:00
parent cf27fe8839
commit fe4aefa3b6
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Journal < ApplicationRecord
details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value) details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value)
if details.size > 0 if details.size > 0
details.each do |de| details.each do |de|
unless de[1] == "description" unless de[1].to_s == "description"
if de[0] == "attr" if de[0] == "attr"
content = "" content = ""
else else