diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb
index a60f147ba..d0317d52f 100644
--- a/app/views/comments/_comment.html.erb
+++ b/app/views/comments/_comment.html.erb
@@ -30,7 +30,7 @@
<%= t("shared.organization") %>
<% end %>
- <% if comment.user == @debate.author %>
+ <% if comment.user_id == @debate.author_id %>
•
<%= t("debates.comment.author") %>
@@ -41,7 +41,7 @@
<% if comment.user.official? %>
- <% elsif comment.user == @debate.author %>
+ <% elsif comment.user_id == @debate.author_id %>
<% else %>