updated to check for null activityName

This commit is contained in:
tworrall 2011-11-08 14:37:50 +00:00
parent 937f84cd08
commit 1f0844701d

View file

@ -15,7 +15,7 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.activity??>
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName}</a>
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName!}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.role)}">missing activity</a>