From 1db6bc8f5cdf711262f635017089a93344f4c850 Mon Sep 17 00:00:00 2001 From: Tim Worrall Date: Fri, 2 Oct 2015 16:19:24 -0400 Subject: [PATCH] No Jira noticed. This template was cloned from the one used to display phone and fax numbers, but was still referencing a variable that does not apply to the preferred title. This was missed in testing because the foaf person template uses the pulledProperty method to display the title, and so the preferred title template was never called. --- .../body/partials/individual/propStatement-preferredTitle.ftl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-preferredTitle.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-preferredTitle.ftl index c94dd474..c68e5053 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-preferredTitle.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-preferredTitle.ftl @@ -10,8 +10,6 @@ next statement --> <#macro showPreferredTitle statement> - <#if statement.number?has_content> - ${statement.preferredTitle} - + ${statement.preferredTitle!} \ No newline at end of file