* @param <drupal_user> $account
 *   Optional account to get available lists for. Otherwise returns a general
 *   list.

but:

  if (empty($account)) {
    global $user;
    $account = $user;
  }

One of these is wrong!

Comments

  • ruscoe committed a0f6a12 on 7.x-2.x
    Issue #2062155 by joachim: docs and code disagree on $account param in...
ruscoe’s picture

Issue summary: View changes
Status: Active » Fixed

You're right; that wasn't correct at all. I've updated the documentation to reflect how the function works.

You can call mailchimp_lists_load_multiple() to get a complete list of MailChimp lists.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.