diff --git a/src/meta/errors.js b/src/meta/errors.js index 80a32fab44..7cc5bdade5 100644 --- a/src/meta/errors.js +++ b/src/meta/errors.js @@ -23,7 +23,7 @@ module.exports = function(Meta) { } 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; });