From 47ec7ca54927d586fe5c5dca3be377231cb59c11 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 12 Jul 2016 14:45:32 +0300 Subject: fix ad url --- juick-www/src/main/java/com/juick/www/Home.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src') diff --git a/juick-www/src/main/java/com/juick/www/Home.java b/juick-www/src/main/java/com/juick/www/Home.java index b0013202..769670c4 100644 --- a/juick-www/src/main/java/com/juick/www/Home.java +++ b/juick-www/src/main/java/com/juick/www/Home.java @@ -108,7 +108,7 @@ public class Home { } PageTemplates.pageHead(out, title, head); PageTemplates.pageNavigation(out, visitor, paramSearch); - PageTemplates.pageHomeColumn(out, sql, visitor, paramShow == null && paramBefore == 0 && paramSearch == null && visitor == null); + PageTemplates.pageHomeColumn(out, sql, visitor, paramShow == null && paramBefore == 0 && paramSearch == null && visitor.getUID() == 0); out.println("
"); -- cgit v1.2.3