diff --git a/lib/OpenLayers/Layer/WMS/Untiled.js b/lib/OpenLayers/Layer/WMS/Untiled.js index 1fe5a70114..fcc4c2b858 100644 --- a/lib/OpenLayers/Layer/WMS/Untiled.js +++ b/lib/OpenLayers/Layer/WMS/Untiled.js @@ -66,7 +66,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = clone: function (obj) { if (obj == null) { - obj = new OpenLayers.Layer.HTTPRequest(this.name, + obj = new OpenLayers.Layer.WMS.Untiled(this.name, this.url, this.params, this.options);