From 3266795fb86837fd364753945981b492f4c718d1 Mon Sep 17 00:00:00 2001 From: Daniel Quathamer Date: Fri, 8 Sep 2023 09:30:42 +0200 Subject: [PATCH] Links auf Impressum klappen unter Informix nicht mehr #307740 --- superx/edit/kern/show_html_content.jsp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superx/edit/kern/show_html_content.jsp b/superx/edit/kern/show_html_content.jsp index 1ce6e4c..783c0eb 100644 --- a/superx/edit/kern/show_html_content.jsp +++ b/superx/edit/kern/show_html_content.jsp @@ -69,12 +69,11 @@ PreparedStatement st_output; ResultSet rs_output; st_output=conmm.prepareStatement("select trim(content) from sx_repository where id=? and today() between gueltig_seit and gueltig_bis and aktiv=1"); st_output.setString(1,IdOutput); -System.out.println("here we are again2"); rs_output = st_output.executeQuery(); String sb_output=""; while (rs_output.next()) { if(rs_output.getObject(1) !=null) - sb_output=rs_output.getObject(1).toString(); + sb_output=rs_output.getObject(1).toString().trim(); } rs_output.close(); st_output.close();