diff --git a/lib/session.js b/lib/session.js index 8f5f64beb2..6df539254e 100644 --- a/lib/session.js +++ b/lib/session.js @@ -59,7 +59,7 @@ function storeData (input, data) { let val = input[i] // Delete values when users unselect checkboxes - if (val === '_unchecked' || val === ['_unchecked']) { + if (val === '_unchecked') { delete data[i] continue }