Commit a49d6178 authored by Guus der Kinderen's avatar Guus der Kinderen

OF-1093: Allow for empty/unknown user creation dates.

Some user providers might not be able to provide a creation date. There's no reason
that the admin page should fail over that.
Note that this commit completes commit 2746a7f4,
which had an correct but incomplete fix for the same problem.
parent e9a6eb55
......@@ -167,7 +167,7 @@
<%= user.getName() %> &nbsp;
</td>
<td width="15%">
<%= JiveGlobals.formatDate(user.getCreationDate()) %> &nbsp;
<%= user.getCreationDate() != null ? JiveGlobals.formatDate(user.getCreationDate()) : "&nbsp;" %>
</td>
<td width="25%">
<% long logoutTime = presenceManager.getLastActivity(user);
......
......@@ -270,7 +270,7 @@
<fmt:message key="user.properties.registered" />:
</td>
<td>
<%= JiveGlobals.formatDate(user.getCreationDate()) %>
<%= user.getCreationDate() != null ? JiveGlobals.formatDate(user.getCreationDate()) : "&nbsp;" %>
</td>
</tr>
<tr>
......
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