diff --git a/lib/OpenLayers/Protocol/WFS/v1.js b/lib/OpenLayers/Protocol/WFS/v1.js index 8a21d7e189..c5111959f0 100644 --- a/lib/OpenLayers/Protocol/WFS/v1.js +++ b/lib/OpenLayers/Protocol/WFS/v1.js @@ -222,6 +222,7 @@ OpenLayers.Protocol.WFS.v1 = OpenLayers.Class(OpenLayers.Protocol, { setFeatureType: function(featureType) { this.featureType = featureType; this.format.featureType = featureType; + this.options.featureType = featureType; }, /**