Skip to content

Commit

Permalink
[BUGFIX] fixes exception thrown in CountViewHelper caused by Image pa…
Browse files Browse the repository at this point in the history
…rtial in t3kit if metadata copyright was set (#325)

CountViewHelper changed and now throws an exception on uncountable subject
  • Loading branch information
pixelmatseriks authored and dmh committed Oct 30, 2017
1 parent f79ec81 commit 1612b8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
</f:if>

<f:if condition="{file.description} && {includeDescription}">
<f:if condition="{dataCaption -> f:count()} > 0">
<f:if condition="{dataCaption}">
<f:variable name="dataCaption">{dataCaption}{glue}</f:variable>
</f:if>
<f:variable name="dataCaption">{dataCaption}{file.description}</f:variable>
</f:if>

<f:if condition="{file.properties.copyright} && {includeCopyright}">
<f:if condition="{dataCaption -> f:count()} > 0">
<f:if condition="{dataCaption}">
<f:variable name="dataCaption">{dataCaption}{glue}</f:variable>
</f:if>
<f:if condition="{labelCopyright}">
Expand Down

0 comments on commit 1612b8b

Please sign in to comment.