Commit 695fece7 authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Fix NPE in available plugins.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4170 b35dd754-fafc-0310-a699-88a17e54d16e
parent f2327722
......@@ -507,11 +507,15 @@
<br/>
<%
String time = JiveGlobals.getProperty("update.lastCheck");
if(time != null){
Date date = new Date(Long.parseLong(time));
time = JiveGlobals.formatDate(date);
}
%>
<p>
<% if(time != null) { %>
<fmt:message key="plugin.available.autoupdate" /> <%= time%>.
<% } %>
<% if(!updateManager.isServiceEnabled()){%>
<fmt:message key="plugin.available.autoupdate.on" />
<% } else { %>
......
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