From 9b084db3cb7ce14c960ec9092efb18ba674fedc0 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Sat, 8 Mar 2014 21:25:57 +0000 Subject: [PATCH] cleaned extraneous "contacts" display --- .../src/main/webapp/resources/template/client.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html index b3ef3fe3a..63efa5f0e 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html +++ b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html @@ -35,7 +35,7 @@ - <% if (client.clientDescription || client.clientUri || client.policyUri || client.tosUri || client.contacts) { %> + <% if (client.clientDescription || client.clientUri || client.policyUri || client.tosUri || client.contacts != null && client.contacts.length > 0) { %>
<%=client.clientDescription%> <% if (client.clientUri || client.policyUri || client.tosUri || client.contacts) { %> @@ -53,7 +53,7 @@ <% if (client.tosUri) { %>
  • Terms of Service: <%= client.tosUri %>
  • <% } %> - <% if (client.contacts) { %> + <% if (client.contacts != null && client.contacts.length > 0) { %>
  • Administrative Contacts: <%= client.contacts.join(', ') %>
  • <% } %>