diff options
-rw-r--r-- | install/ui/aci.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js index fc72b519..02e03f30 100644 --- a/install/ui/aci.js +++ b/install/ui/aci.js @@ -487,7 +487,12 @@ IPA.attributes_widget = function(spec) { values = values || []; for (var i=0; i<values.length; i++) { - var value = values[i].toLowerCase(); + + var value = values[i]; + + if (!value || value === '') continue; + + value = value.toLowerCase(); that.values.push(value); } |