mod_rest/jsonmap.lib.lua
changeset 3853 11c34e97fe1a
parent 3852 1b9834500123
child 3854 8d13b9c9ba75
--- a/mod_rest/jsonmap.lib.lua	Sat Jan 25 00:17:44 2020 +0100
+++ b/mod_rest/jsonmap.lib.lua	Sat Jan 25 00:19:11 2020 +0100
@@ -65,7 +65,7 @@
 					end
 				end
 				if s.features then
-					for feature in ipairs(s.features) do
+					for _, feature in ipairs(s.features) do
 						disco:tag("feature", { var = feature }):up();
 					end
 				end