diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 322:40442cbfbcc7

Fix invalid quoting for string expressions
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 21 Sep 2012 10:27:26 +0200
parents b6c0fbae16dc
children 5e7e6d99f997
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Thu Sep 20 17:58:29 2012 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Fri Sep 21 10:27:26 2012 +0200
@@ -874,7 +874,7 @@
                 //The expression value is a strings.
                 expression += "\"[";
                 expression += sanitizeAttribute(ce.getAttribute("expression_field_0"),
-                                      prefixToRemove, prefix, isShapeFile) + "]";
+                                      prefixToRemove, prefix, isShapeFile) + "]\"";
                 expression += " " + ce.getAttribute("expression_operator");
                 expression += " \"" + ce.getAttribute("value") + "\")";
             }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)