fix for duplicate 'allowed'.
This commit is contained in:
parent
bf1ea2445f
commit
f232a1e829
@ -349,10 +349,12 @@
|
||||
end
|
||||
else
|
||||
field.allowed = field.allowed or {}
|
||||
if field.allowed[value:lower()] == nil then
|
||||
table.insert(field.allowed, value)
|
||||
field.allowed[value:lower()] = value
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user