good eye tim. patch for #560.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2882 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-03-25 14:49:31 +00:00
parent b6e783fb66
commit 67963c3e86

View File

@@ -25,7 +25,7 @@ OpenLayers.Format.WFS.prototype =
*/
initialize: function(options, layer) {
OpenLayers.Format.GML.prototype.initialize.apply(this, arguments);
OpenLayers.Format.GML.prototype.initialize.apply(this, [options]);
this.layer = layer;
if (this.layer.featureNS) {
this.featureNS = this.layer.featureNS;