From 45609fb1723498d5fd0b8898ad8b2a96f9ef5104 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 8 Apr 2014 10:43:59 -0400 Subject: [PATCH] ProfileBuilder - fix undefined var error --- js/model/crm.uf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/model/crm.uf.js b/js/model/crm.uf.js index c5c2563e38..ca9fdd255d 100644 --- a/js/model/crm.uf.js +++ b/js/model/crm.uf.js @@ -686,7 +686,7 @@ // set proper entity model based on selected profile var contactTypes = ['Individual', 'Household', 'Organization']; - var profileType = ufGroupModel.get('group_type'); + var profileType = ufGroupModel.get('group_type') || ''; profileType = profileType.split(','); var ufEntityModel; _.each(profileType, function (ptype) { -- 2.25.1