Skip to content
Browse files

Check comment's commit whether presents in the observed repositories

  • Loading branch information...
1 parent d758eee commit 9d7cdcff453628142be2fcaadb686b5d9124bdcc @Nucc committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/wall/_comment.html.erb
View
2 app/views/wall/_comment.html.erb
@@ -1,4 +1,4 @@
-<% if commit.patch %>
+<% if comment.commits[0] and comment.commits[0].patch %>
<div class="commit_entry">
<div class="image">

0 comments on commit 9d7cdcf

Please sign in to comment.
Something went wrong with that request. Please try again.