Commit 7471c4da authored by Matt Tucker's avatar Matt Tucker Committed by matt

Handle null resources.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@675 b35dd754-fafc-0310-a699-88a17e54d16e
parent 66dcd908
......@@ -111,12 +111,12 @@ user <b><%= address.getNode() %></b> has multiple sessions open, they will appea
<% String n = address.getNode(); %>
<% if (n == null || "".equals(n)) { %>
<i>Anonymous</i> - <%= address.getResource() %>
<i>Anonymous</i> - <%= address.getResource()==null?"":address.getResource() %>
<% } else { %>
<a href="user-properties.jsp?username=<%= n %>"><%= n %></a>
- <%= address.getResource() %>
- <%= address.getResource()==null?"":address.getResource() %>
<% } %>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment