Skip to content

Commit 97b10fa

Browse files
committed
MAGETWO-57607: [Backport] - Unable to save product with all unchecked values for multiple select attribute - for 2.1 #7687
1 parent 434656d commit 97b10fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/web/mage/utils/misc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,10 @@ define([
221221
data = data || {};
222222
suffix = suffix || 'prepared-for-send';
223223
separator = separator || '-';
224+
224225
_.each(data, function (value, key) {
225226
if (_.isObject(value) && !value.length) {
226-
this.filterFormData(value, suffix, separator)
227+
this.filterFormData(value, suffix, separator);
227228
} else if (_.isString(key) && ~key.indexOf(suffix)) {
228229
data[key.split(separator)[0]] = value;
229230
delete data[key];

0 commit comments

Comments
 (0)