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");