--- asin.module	2007-10-08 22:03:25.000000000 -0700
+++ asin2.module	2007-12-16 02:30:28.000000000 -0800
@@ -203,7 +203,7 @@ function theme_asin_field($item, $format
       $output = l($image, $product->detailpageurl, array(), NULL, NULL, TRUE, TRUE);
       $output .= '<p class="asin-title">' . l($product->title, $product->detailpageurl) . '</p>';
       if (!empty($product->author)) {
-        $output .= '<p class="asin-author">by '. is_array($product->author) ? check_plain(implode(', ', $asin->author)) : check_plain($asin->author) .'</p>';
+        $output .= '<p class="asin-author">by '. is_array($product->author) ? check_plain(implode(', ', $product->author)) : check_plain($asin->author) .'</p>';
       }
       $output .= '<p class="asin-price">' . check_plain($product->formattedprice) . ' (' . check_plain($product->binding) . ')</p>';
       $output .= '<span class="clear"></span>';
