fix for duplicate 'allowed'.
This commit is contained in:
parent
bf1ea2445f
commit
f232a1e829
@ -349,8 +349,10 @@
|
||||
end
|
||||
else
|
||||
field.allowed = field.allowed or {}
|
||||
table.insert(field.allowed, value)
|
||||
field.allowed[value:lower()] = value
|
||||
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