diff --git a/nodes/core/core/20-inject.js b/nodes/core/core/20-inject.js index 10c02c77c..fe2998501 100644 --- a/nodes/core/core/20-inject.js +++ b/nodes/core/core/20-inject.js @@ -58,7 +58,7 @@ module.exports = function(RED) { } else if (this.payloadType == 'none') { msg.payload = ""; } else { - msg.payload = RED.util.evaluateNodeProperty(this.payload,this.payloadType,this,msg); + msg.payload = RED.util.evaluateNodeProperty(this.payload,this.payloadType,this,msg)||""; } this.send(msg); msg = null;