Fix bug if no value is supplied.

This commit is contained in:
Eric Martindale 2015-03-24 16:28:13 -04:00
parent 56f3e9a7da
commit 9ece2f78ed
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ function addNetwork(data) {
});
_.each(_.values(network), function(value) {
if (!_.isObject(value)) {
if (value && !_.isObject(value)) {
networkMaps[value] = network;
}
});