aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-06 21:05:52 +0300
committerGravatar Vitaly Takmazov2019-03-06 21:05:52 +0300
commite7873d0707b9057f63bac5540df8577c96921e3b (patch)
tree9a68d3cb3c641c62d21fa31d50bcd9eb03f0fd27
parentae78da3ba6d011f89590b21730d60d211bc4e5fc (diff)
Fix illegal reflective access from PebbleTemplates
-rw-r--r--src/main/resources/templates/layouts/note.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/layouts/note.html b/src/main/resources/templates/layouts/note.html
index 42b939c0..e832dc63 100644
--- a/src/main/resources/templates/layouts/note.html
+++ b/src/main/resources/templates/layouts/note.html
@@ -1,5 +1,5 @@
{% import "views/macros/tags" %}
<p>{{ msg | formatMessage }}</p>
-{% if msg.tags.size > 0 %}
+{% if msg.tags | length > 0 %}
<div class="msg-tags">{{ allTags(baseUri, msg.tags | tagsList) }}</div>
{% endif %} \ No newline at end of file