Skip to content

Commit

Permalink
Backport of MAGETWO-80198 for Magento 2.1: Fix issue #10565 #10575
Browse files Browse the repository at this point in the history
(cherry picked from commit b73d513)
  • Loading branch information
omiroshnichenko authored and hostep committed Feb 7, 2018
1 parent 918dd05 commit d95e15c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ define([
* @param {Array} data - current component value
*/
setPrepareToSendData: function (data) {
if (!data.length) {
if (_.isUndefined(data) || !data.length) {
data = '';
}

Expand Down

0 comments on commit d95e15c

Please sign in to comment.