From: Seamus Lee Date: Mon, 17 Dec 2018 00:48:37 +0000 (+1100) Subject: dev/joomla#3 CRM-21780 Fix Mailings Receipients box incompatabilites with certain... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=83c73d12aa71f61696a1450d35ed79670c63ab6e;p=civicrm-core.git dev/joomla#3 CRM-21780 Fix Mailings Receipients box incompatabilites with certain instances of Joomla --- 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);