From f6017342d6bbe56e42bd0c456f35a0cbd29e0c55 Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 10 Jun 2011 14:52:45 +0000 Subject: [PATCH] fixing a typo that caused a freemarker.core.InvalidReferenceException --- .../freemarker/body/partials/individual/lib-properties.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl index d6d2c6302..779f3bf2f 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl @@ -221,7 +221,7 @@ name will be used as the label. --> <#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case). If there's a mainImage statement but no thumbnail image, treat it as if there is no image. --> <#if (mainImage.statements)?has_content && thumbUrl?has_content> - ${individual.name} + ${individual.name} <@editingLinks "${mainImage.localName}" mainImage.first editable extraParams /> <#else> <#local imageLabel><@addLinkWithLabel mainImage editable "Photo" extraParams />