From 490ddad8ba151f3eb013e0aae6c9aab490d235e6 Mon Sep 17 00:00:00 2001 From: Graham Triggs Date: Fri, 8 Feb 2019 10:08:41 +0000 Subject: [PATCH] Fix for Plum Analytics badge on wrong publications --- .../partials/individual/propStatement-authorInAuthorship.ftl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl index 516a9566..73a7b1bf 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl @@ -137,8 +137,10 @@ <#assign plumIdParam = "isbn=${statement.isbn13}"> <#elseif statement.oclc??> <#assign plumIdParam = "oclc=${statement.oclc}"> + <#else> + <#assign plumIdParam = ""> - <#if plumIdParam??> + <#if plumIdParam?has_content>