diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-11-12 19:31:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-11-12 19:31:16 +0000 |
commit | ece61d70cd6b64197f6d46bd3960c86c5519f972 (patch) | |
tree | 08fb861d9923bf367e371ee3bd86720655ced861 /provisioning-model.lua | |
parent | fab86d805ae23e517db1eb4889682cdf7d5cb897 (diff) | |
download | acf-provisioning-ece61d70cd6b64197f6d46bd3960c86c5519f972.tar.bz2 acf-provisioning-ece61d70cd6b64197f6d46bd3960c86c5519f972.tar.xz |
Fix bulkcreatedevice when option value is a blank string
Diffstat (limited to 'provisioning-model.lua')
-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 |