From 61c52f96fa35992882689f8239866e6448f511f7 Mon Sep 17 00:00:00 2001 From: Petr Balashov Date: Tue, 21 Mar 2017 14:39:35 +0100 Subject: [PATCH] added var check in KMDTransaction.js --- assets/scripts/kmd_wallet/KMDTransaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scripts/kmd_wallet/KMDTransaction.js b/assets/scripts/kmd_wallet/KMDTransaction.js index 181ea26..7e813cb 100644 --- a/assets/scripts/kmd_wallet/KMDTransaction.js +++ b/assets/scripts/kmd_wallet/KMDTransaction.js @@ -39,9 +39,9 @@ function KMDGetPublicTransactions() { $.each(AjaxOutputData, function(index, value) { var tmp_category = '', - tmp_addr = AjaxOutputData[index].address; + tmp_addr = AjaxOutputData[index] ? AjaxOutputData[index].address : ''; - if (!('address' in AjaxOutputData[index])) { + if (AjaxOutputData[index] && !('address' in AjaxOutputData[index])) { tmp_addr = ' ' + _lang[defaultLang].DASHBOARD.ZADDR_NOT_LISTED + '!'; } var tmp_secondsToString = secondsToString(AjaxOutputData[index].time);