From 83c73d12aa71f61696a1450d35ed79670c63ab6e Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 17 Dec 2018 11:48:37 +1100 Subject: [PATCH] dev/joomla#3 CRM-21780 Fix Mailings Receipients box incompatabilites with certain instances of Joomla --- ang/crmMailing/Recipients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ang/crmMailing/Recipients.js b/ang/crmMailing/Recipients.js index 759fd4c91a..4203d4a3c8 100644 --- a/ang/crmMailing/Recipients.js +++ b/ang/crmMailing/Recipients.js @@ -136,7 +136,7 @@ var gids = []; var mids = []; - for (var i in values) { + for (var i = 0; i < values.length; i++) { var dv = convertValueToObj(values[i]); if (dv.entity_type == 'civicrm_group') { gids.push(dv.entity_id); -- 2.25.1