Before this it just displays en empty box, which looks wrong.
<p><%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %></p>
<% end %>
<p><%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %></p>
<% end %>
-<%= message_body do %>
- <%= @comment.to_html %>
+<% unless @comment.empty? %>
+ <%= message_body do %>
+ <%= @comment.to_html %>
+ <% end %>
<% end %>
<p><%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %></p>
<% end %>
<p><%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %></p>
<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %>
<% end %>
<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %>
<% end %>
+<% unless @comment.empty? %>
==
<%= @comment.to_text %>
==
==
<%= @comment.to_text %>
==
<%= t 'notifier.note_comment_notification.details', :url => @noteurl %>
<%= t 'notifier.note_comment_notification.details', :url => @noteurl %>