From ff46ce8520e7f894abf7b4d072f26ae6bc30c058 Mon Sep 17 00:00:00 2001 From: low012 Date: Fri, 17 Oct 2008 19:57:39 +0000 Subject: [PATCH] *) fixed display=2 (see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1536) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5283 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/index.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/index.java b/htroot/index.java index 4ee9f438c..3c9596d1b 100644 --- a/htroot/index.java +++ b/htroot/index.java @@ -56,7 +56,7 @@ public class index { final boolean global = (post == null) ? true : post.get("resource", "global").equals("global"); final boolean authenticated = sb.adminAuthenticated(header) >= 2; - final int display = ((post == null) || (!authenticated)) ? 0 : post.getInt("display", 0); + final int display = (post == null) ? 0 : post.getInt("display", 0); final int searchoptions = (post == null) ? 0 : post.getInt("searchoptions", 0); final String former = (post == null) ? "" : post.get("former", ""); final int count = Math.min(100, (post == null) ? 10 : post.getInt("count", 10));