projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Display same in hostname and IP when IP lookup fails
[selectricity]
/
app
/
views
/
quickvote
/
results.rhtml
diff --git
a/app/views/quickvote/results.rhtml
b/app/views/quickvote/results.rhtml
index 98a71e54c97cdf8f05368832506b5b5ba8f5327d..9677d9ac0ae307e2ab7d102da2827b5e4a516220 100644
(file)
--- a/
app/views/quickvote/results.rhtml
+++ b/
app/views/quickvote/results.rhtml
@@
-160,7
+160,7
@@
by several other names.</p>
<%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %>
<% rescue ArgumentError => err %>
- <%=
" - "
%>
+ <%=
voter.ipaddress
%>
<% end %>
</td>
<td><%= voter.vote.votestring %></td>
Benjamin Mako Hill
||
Want to submit a patch?