I was just looking through the module, trying to understand what exactly was going on behind the scenes. While doing that, I ran across this line (starting at 279):

  if ($associate_id = amazon_get_associate_id()) {
    $parameters += array(
      'AssociateTag' => $associate_id,
    );
  }

Is that supposed to be "if ($associate_id == amazon_get_associate_id()) {" instead of "if ($associate_id = amazon_get_associate_id()) {"?

Comments

kosher created an issue.