From e745b63c77b2be614818d5e3948ea432d3b9e136 Mon Sep 17 00:00:00 2001 From: theli Date: Wed, 20 Sep 2006 04:44:56 +0000 Subject: [PATCH] *) Bugfix for different behavior of indexDistributeWhileCrawling to other checkboxes on IndexControl_p.html See: http://www.yacy-forum.de/viewtopic.php?t=2849 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2637 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/IndexControl_p.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/IndexControl_p.java b/htroot/IndexControl_p.java index b83834922..0e52897ce 100644 --- a/htroot/IndexControl_p.java +++ b/htroot/IndexControl_p.java @@ -123,7 +123,7 @@ public class IndexControl_p { switchboard.setConfig("allowDistributeIndex", "false"); } - if (post.containsKey("indexDistributeWhileCrawling")) { + if (post.get("indexDistributeWhileCrawling","").equals("on")) { switchboard.setConfig("allowDistributeIndexWhileCrawling", "true"); } else { switchboard.setConfig("allowDistributeIndexWhileCrawling", "false");