1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

null ref on keeper import

This commit is contained in:
Kyle Spearrin 2017-12-03 21:27:49 -05:00
parent 2997f694f8
commit f3b438d514

View File

@ -1584,7 +1584,7 @@
if (value.length > 6) {
// we have some custom fields.
for (i = 6; i < value.length; i = i + 2) {
if (value[i + 1].length > 200) {
if (value[i + 1] && value[i + 1].length > 200) {
if (!cipher.notes) {
cipher.notes = '';
}