Closed (fixed)
Project:
Amazon Product Advertisement API
Version:
6.x-1.0-beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2009 at 04:20 UTC
Updated:
18 Oct 2009 at 08:40 UTC
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
Comment #1
rfayReading the code, this appears to be deliberate. Probably not best practice, but deliberate. Closing this for now, reopen if needed.