Convert k/v to string before storing them. Fixes #3357
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / Feature.as
index 0ad71358eeab6050181ffff3ced5bed50e1a5c01..323392d2f79cc1f75120d1fb7c2827beab3d3bc5 100644 (file)
@@ -36,7 +36,7 @@ package net.systemeD.potlatch2.mapfeatures {
             
                        // parse tags
             for each(var tag:XML in definition.tag) {
-                _tags.push( { k:tag.@k, v:tag.@v} );
+                _tags.push( { k:String(tag.@k), v:String(tag.@v)} );
             }
 
                        // parse 'within'