dev/joomla#3 CRM-21780 Fix Mailings Receipients box incompatabilites with certain...
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 17 Dec 2018 00:48:37 +0000 (11:48 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 17 Dec 2018 00:48:37 +0000 (11:48 +1100)
ang/crmMailing/Recipients.js

index 759fd4c91ad2bc109dd9608f64c4cf6f0e1752b8..4203d4a3c8f7b553c9e68cfb5c8af13eebadd9b6 100644 (file)
             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);