From c75523f432fe572e88d3305ed09776b377e3d490 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 20 Jun 2011 11:08:18 +0000 Subject: [PATCH] calling the method on the superclass only with the advertised arguments. Thanks bartvde for catching this (see #3367) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12111 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/GML/Base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }, /**