Just noticed there's an assignment in condition in amazon.theme.inc:

function theme_amazon_inline_item($item) {
  $alt_theme = 'amazon_inline_item_' . _amazon_clean_type($item['producttypename']);
  if ($output = theme($alt_theme, $item)) {
    return $output;
  }
  else {
    $output = '<span class="'. _amazon_item_classes($item) .' amazon-item-inline">';
    $output .= l($item['title'], $item['detailpageurl']);
    $output .= '</span>';
    return $output;
  }
}

Comments

rfay’s picture

Status: Active » Fixed

Reading the code, this appears to be deliberate. Probably not best practice, but deliberate. Closing this for now, reopen if needed.

Status: Fixed » Closed (fixed)

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