Fix #4038: Attempting to create an IP-ban bans the creator.
* Rename comments.ip_addr to comments.creator_ip_addr. * Fix belongs_to_creator to not clobber ip_addr field.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<li>|</li>
|
||||
<li>
|
||||
<strong>IP</strong>
|
||||
<span><%= link_to_ip comment.ip_addr %></span>
|
||||
<span><%= link_to_ip comment.creator_ip_addr %></span>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user