Browse Source

Fixed issue with invalid IP addresses - closes #52

Andrew Kane 9 years ago
parent
commit
37973175ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/views/blazer/queries/run.html.erb

+ 1 - 1
app/views/blazer/queries/run.html.erb

@@ -106,7 +106,7 @@
                       <% end %>
 
                       <% unless v.nil? %>
-                        <% if v == "" %>
+                        <% if v.is_a?(String) && v == "" %>
                           <div class="text-muted">empty string</div>
                         <% elsif @linked_columns[k] %>
                           <%= link_to blazer_format_value(k, v), @linked_columns[k].gsub("{value}", u(v.to_s)), target: "_blank" %>