From bd61ccb208b4318bd80b0aef8fba9c71f2b2a6f7 Mon Sep 17 00:00:00 2001 From: Deuce <shurd@sasktel.net> Date: Tue, 26 Jan 2021 20:56:37 -0500 Subject: [PATCH] Work on the assumption that obj is an Array... typeof (new Array()) === 'object' but an Array not not be an Object(?) --- exec/load/fidocfg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/fidocfg.js b/exec/load/fidocfg.js index 5b34672b4c..ab4dcb56a2 100644 --- a/exec/load/fidocfg.js +++ b/exec/load/fidocfg.js @@ -51,7 +51,7 @@ function TickITCfg() { function lcprops(obj) { - if(typeof obj == 'object') { + if(typeof obj == 'object' && !Array.isArray(obj)) { var i; var keys = Object.keys(obj); -- GitLab