Browse Source

Fix bug if no value is supplied.

patch-2
Eric Martindale 10 years ago
parent
commit
9ece2f78ed
  1. 2
      lib/networks.js

2
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;
}
});

Loading…
Cancel
Save