diff options
-rw-r--r-- | provisioning-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provisioning-model.lua b/provisioning-model.lua index 23639ca..7c03598 100644 --- a/provisioning-model.lua +++ b/provisioning-model.lua @@ -2370,7 +2370,7 @@ mymodule.bulk_create_devices = function(self, devicelist) if values[j] == o.value then found = o.value break - elseif string.find(o.label, format.escapemagiccharacters(values[j])) then + elseif values[j] ~= "" and string.find(o.label, format.escapemagiccharacters(values[j])) then if found then error("Ambiguous "..h.." value in line "..i) end |