diff --git a/lib/networks.js b/lib/networks.js index 51062f0..5e47b6c 100644 --- a/lib/networks.js +++ b/lib/networks.js @@ -75,7 +75,7 @@ function addNetwork(data) { }); _.each(_.values(network), function(value) { - if (!_.isObject(value)) { + if (value && !_.isObject(value)) { networkMaps[value] = network; } });