Quick fix to VIVO-975 where there's a missing 'type' parameter in a Freemarker call that throws an exception

This commit is contained in:
Jon Corson-Rikert 2015-02-16 10:35:18 -05:00
parent d6f7baf8a8
commit 183da6fd56

View file

@ -11,11 +11,14 @@
<#elseif individual.event()> <#elseif individual.event()>
itemscope itemtype="http://schema.org/Event" itemscope itemtype="http://schema.org/Event"
<#elseif individual.infoContentEntity()> <#elseif individual.infoContentEntity()>
<#assign mst = "Document" />
<#list individual.mostSpecificTypes as type > <#list individual.mostSpecificTypes as type >
<#assign mst = type /> <#assign mst = type />
<#break> <#break>
</#list> </#list>
<@getItemType mst "infoContentEntity"/> <@getItemType mst "infoContentEntity"/>
<#else>
itemscope itemtype="http://schema.org/Thing"
</#if> </#if>
</#macro> </#macro>