Completed checkbox_query and rewrite of change_modules module with checkboxes
This commit is contained in:
@ -7,7 +7,11 @@ function modpol.util.copy_table(t)
|
||||
local t2 = {}
|
||||
if pairs(t) then
|
||||
for k,v in pairs(t) do
|
||||
t2[k] = v
|
||||
if type(v) == "table" then
|
||||
t2[k] = modpol.util.copy_table(v)
|
||||
else
|
||||
t2[k] = v
|
||||
end
|
||||
end
|
||||
end
|
||||
return t2
|
||||
|
Reference in New Issue
Block a user