diff options
author | Vitaly Takmazov | 2016-12-01 23:01:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-01 23:01:22 +0300 |
commit | 8b29dc19a288cf50246af0a3834d45e07da51642 (patch) | |
tree | e5cd5f6e7611d002fd5809c3138dbe39f6602583 /juick-www/src/main/java | |
parent | bdd36eb9858d0dccd94827de55e36767095be048 (diff) |
juick-core: fix replies serialization
Diffstat (limited to 'juick-www/src/main/java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/java/com/juick/www/PageTemplates.java b/juick-www/src/main/java/com/juick/www/PageTemplates.java index 504a4b8b..685c81fe 100644 --- a/juick-www/src/main/java/com/juick/www/PageTemplates.java +++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java @@ -363,8 +363,8 @@ public class PageTemplates { if (msg.Likes > 0) { out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"likes\"><i data-icon=\"ei-heart\" data-size=\"s\"></i> " + msg.Likes + "</a>"); } - if (msg.Replies > 0) { - out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"replies\"><i data-icon=\"ei-comment\" data-size=\"s\"></i> " + msg.Replies + "</a>"); + if (msg.getReplies() > 0) { + out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"replies\"><i data-icon=\"ei-comment\" data-size=\"s\"></i> " + msg.getReplies() + "</a>"); } out.println("</nav>"); out.print("</article>"); |