项目问题留言中,当留言内容为空(blank)时,不显示

This commit is contained in:
ouyangxuhua 2015-09-22 14:36:28 +08:00
parent c9bedb2362
commit e295c74a91
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 = ''