问题留言为空时,不显示留言内容

This commit is contained in:
ouyangxuhua 2015-09-22 14:33:52 +08:00
parent 0300cbe319
commit 45589a024a
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ module UsersHelper
def get_issue_des_update(journal)
no_html = "message"
arr = details_to_strings(journal.details, no_html)
unless journal.notes.empty?
unless journal.notes.blank?
arr << "留言内容:" + journal.notes
end
str = ''