]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Fix rendering of note comments (#333)
[rails.git] / app / views / browse / _common_details.html.erb
index 574242f771576e839187fd342fc2d135be6af5f3..7c8165c67f330e5a9688a6da4d0af92cb9b62638 100644 (file)
@@ -29,7 +29,7 @@
     <p><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></p>
   </div>
 
-  <% if common_details.changeset.tags['comment'] %>
+  <% if common_details.changeset.tags['comment'].present? %>
     <div>
       <h4><%= t 'browse.common_details.changeset_comment' %></h4>
       <p><%= linkify(h(common_details.changeset.tags['comment'])) %></p>