Skip to content

Commit

Permalink
# couldn't show more than 10 mailchimp lists for syncing
Browse files Browse the repository at this point in the history
If you have more than 1000 lists in your account, than you are one crazy marketing chimp :)
  • Loading branch information
compojoom committed Sep 2, 2016
1 parent 36386ba commit 949ea41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/administrator/components/com_cmc/helpers/chimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function lists($ids = null)
{
if (!$ids)
{
$lists = $this->get('/lists');
$lists = $this->get('/lists', array('count' => 1000));
}
else
{
Expand All @@ -90,12 +90,12 @@ public function lists($ids = null)
{
foreach ($ids as $id)
{
$lists[] = $this->get('/lists/' . $id);
$lists[] = $this->get('/lists/' . $id, array('count' => 1000));
}
}
else
{
$lists[] = $this->get('/lists/' . $ids);
$lists[] = $this->get('/lists/' . $ids, array('count' => 1000));
}
}

Expand Down

0 comments on commit 949ea41

Please sign in to comment.