From b6881349beb100bb16354b9b40ee3bd86bc20b19 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 23 Aug 2017 11:39:53 +0200 Subject: [PATCH] Fix an issue with the notifications in secure pads --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 7a8c3eb64..959ca46f1 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -871,7 +871,7 @@ define([ if (netfluxIds.indexOf(u) === -1) { var temp = JSON.parse(JSON.stringify(oldUserData[u])); delete oldUserData[u]; - if (temp.uid === newdata[userNetfluxId].uid) { return; } + if (temp && newdata[userNetfluxId] && temp.uid === newdata[userNetfluxId].uid) { return; } if (userPresent(u, temp, newdata || oldUserData) < 1) { notify(-1, temp.name); }