pass string to validator

v1.18.x
Barış Soner Uşaklı 8 years ago
parent 444420be4b
commit 5dbcd9cf3f

@ -23,7 +23,7 @@ module.exports = function(Meta) {
} }
data = data.map(function(nfObject) { data = data.map(function(nfObject) {
nfObject.value = escape ? validator.escape(nfObject.value) : nfObject.value; nfObject.value = escape ? validator.escape(String(nfObject.value || '')) : nfObject.value;
return nfObject; return nfObject;
}); });

Loading…
Cancel
Save