diff --git a/lib/OpenLayers/Format/GML/Base.js b/lib/OpenLayers/Format/GML/Base.js index fed96e7f30..b05b3fd2ee 100644 --- a/lib/OpenLayers/Format/GML/Base.js +++ b/lib/OpenLayers/Format/GML/Base.js @@ -227,7 +227,7 @@ OpenLayers.Format.GML.Base = OpenLayers.Class(OpenLayers.Format.XML, { this.featureNS = node.namespaceURI; this.autoConfig = true; } - return OpenLayers.Format.XML.prototype.readNode.apply(this, arguments); + return OpenLayers.Format.XML.prototype.readNode.apply(this, [node, obj]); }, /**