template fix to prevent exception when label is null

This commit is contained in:
Tim Worrall 2014-07-24 13:27:33 -04:00
parent b182c70987
commit 9c47681ba9

View file

@ -31,6 +31,8 @@
<#if statement.roleTypeLabel?has_content>
<#assign roleTypeLabel = statement.roleTypeLabel!"" >
<#else>
<#assign roleTypeLabel = "" >
</#if>
<#if statement.roleLabel??>
${statement.roleLabel?replace(" Role", "")?replace(" role","")}