diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index ffc564b95b..4461546b86 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -263,8 +263,7 @@ OpenLayers.Layer.WFS.prototype = var failure = this.commitFailure.bind(this) - // - OpenLayers.Ajax.serializeXMLToString(data); + data = OpenLayers.Ajax.serializeXMLToString(data); // from prototype.js new OpenLayers.Ajax.Request(url,