From 8f3646d179b4d779c9521b6cc1b227f371830395 Mon Sep 17 00:00:00 2001 From: John Dong Date: Wed, 15 Aug 2007 17:35:51 -0400 Subject: [PATCH] Display same in hostname and IP when IP lookup fails --- app/views/quickvote/results.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index 98a71e5..9677d9a 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -160,7 +160,7 @@ by several other names.

<%= `host #{IPAddr.new(voter.ipaddress).to_s}`.sub(/^.*pointer (.*)\.$/, '\1') %> <% rescue ArgumentError => err %> - <%= " - " %> + <%= voter.ipaddress %> <% end %> <%= voter.vote.votestring %> -- 2.30.2