From 0b45d01ae707629e1292eb54507862d256569213 Mon Sep 17 00:00:00 2001 From: "pavel.stastny@gmail.com" Date: Tue, 20 May 2014 13:36:54 +0200 Subject: [PATCH] parsing errors check #93 --- search/src/java/cz/incad/Kramerius/ViewInfoServlet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search/src/java/cz/incad/Kramerius/ViewInfoServlet.java b/search/src/java/cz/incad/Kramerius/ViewInfoServlet.java index cab8c8c41e..45c2375c2d 100644 --- a/search/src/java/cz/incad/Kramerius/ViewInfoServlet.java +++ b/search/src/java/cz/incad/Kramerius/ViewInfoServlet.java @@ -198,6 +198,8 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se if (hasAlto) { boolean flag = altoObject(pid,map, req); map.put("hasAlto", ""+flag); + } else { + map.put("hasAlto", "false"); } resp.setContentType("text/plain");