From 8b29dc19a288cf50246af0a3834d45e07da51642 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 1 Dec 2016 23:01:22 +0300
Subject: juick-core: fix replies serialization
---
juick-www/src/main/java/com/juick/www/PageTemplates.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'juick-www/src/main/java/com/juick/www')
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(" " + msg.Likes + "");
}
- if (msg.Replies > 0) {
- out.print(" " + msg.Replies + "");
+ if (msg.getReplies() > 0) {
+ out.print(" " + msg.getReplies() + "");
}
out.println("");
out.print("");
--
cgit v1.2.3