From 02ad66f580f15844925c384dbabcd575c5e170a6 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 5 Jan 2008 00:39:33 +0000 Subject: [PATCH] keep local value (closes #1248) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5652 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 07fc8dac7e..54e54a6853 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -51,7 +51,7 @@ if ($ == null) { OpenLayers.Util.extend = function(destination, source) { if(destination && source) { for(var property in source) { - value = source[property]; + var value = source[property]; if(value !== undefined) { destination[property] = value; }