check badDataLength

This commit is contained in:
Kyle Spearrin 2016-11-09 00:42:19 -05:00
parent 8313d9fa90
commit b5b706fe06
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@
} }
}); });
if (badDataSites > (data.length / 2)) { if (badDataSites && badDataSites > (data.length / 2)) {
error('CSV data is not formatted correctly from LastPass. Please check your import file and try again.'); error('CSV data is not formatted correctly from LastPass. Please check your import file and try again.');
} }
else { else {