From e24511678d92949548da4718421495f73ebffb51 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 4 Jul 2018 18:42:59 -0600 Subject: [PATCH] Ensure 'tag' exists --- core/scanner_tossers/ftn_bso.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scanner_tossers/ftn_bso.js b/core/scanner_tossers/ftn_bso.js index 2e08b6e2..f20e61ea 100644 --- a/core/scanner_tossers/ftn_bso.js +++ b/core/scanner_tossers/ftn_bso.js @@ -114,7 +114,7 @@ function FTNMessageScanTossModule() { this.getLocalAreaTagByFtnAreaTag = function(ftnAreaTag) { ftnAreaTag = ftnAreaTag.toUpperCase(); // always compare upper return _.findKey(Config().messageNetworks.ftn.areas, areaConf => { - return areaConf.tag.toUpperCase() === ftnAreaTag; + return _.isString(areaConf.tag) && areaConf.tag.toUpperCase() === ftnAreaTag; }); };