diff --git a/modules/default/updatenotification/node_helper.js b/modules/default/updatenotification/node_helper.js index 25c088bad8..f4014519c4 100644 --- a/modules/default/updatenotification/node_helper.js +++ b/modules/default/updatenotification/node_helper.js @@ -65,7 +65,7 @@ module.exports = NodeHelper.create({ data.module = sg.module; if (!err) { sg.git.log({"-1": null}, function(err, data2) { - if (!err && data2.latest) { + if (!err && data2.latest && "hash" in data2.latest) { data.hash = data2.latest.hash; self.sendSocketNotification("STATUS", data); }