From c69a4874b4040a118a3d1ee91e145f990c4e45f0 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 17 Feb 2011 16:47:05 +0000 Subject: [PATCH] fix for non-valid json, see http://forum.yacy-websuche.de/viewtopic.php?f=6&t=3179 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7488 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacysearchtrailer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/yacysearchtrailer.java b/htroot/yacysearchtrailer.java index 5000d9dab..7ede8adb7 100644 --- a/htroot/yacysearchtrailer.java +++ b/htroot/yacysearchtrailer.java @@ -80,9 +80,9 @@ public class yacysearchtrailer { prop.put("nav-namespace_element_" + i + "_nl", 1); i++; } + prop.put("nav-namespace_element", i); i--; prop.put("nav-namespace_element_" + i + "_nl", 0); - prop.put("nav-namespace_element", i); } // host navigators @@ -104,9 +104,9 @@ public class yacysearchtrailer { prop.put("nav-domains_element_" + i + "_nl", 1); i++; } + prop.put("nav-domains_element", i); i--; prop.put("nav-domains_element_" + i + "_nl", 0); - prop.put("nav-domains_element", i); } // author navigators @@ -130,9 +130,9 @@ public class yacysearchtrailer { prop.put("nav-authors_element_" + i + "_nl", 1); i++; } + prop.put("nav-authors_element", i); i--; prop.put("nav-authors_element_" + i + "_nl", 0); - prop.put("nav-authors_element", i); } // topics navigator @@ -159,9 +159,9 @@ public class yacysearchtrailer { i++; } } + prop.put("nav-topics_element", i); i--; prop.put("nav-topics_element_" + i + "_nl", 0); - prop.put("nav-topics_element", i); } // about box