diff --git a/boot/boot.js b/boot/boot.js index bc974c6d5..981ac7eb2 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -294,7 +294,9 @@ $tw.utils.parseFields = function(text,fields) { if(p !== -1) { var field = line.substr(0, p).trim(), value = line.substr(p+1).trim(); - fields[field] = value; + if(field) { + fields[field] = value; + } } } });