wp-e-commerce/WP-e-Commerce — pull request #749 by norcross (2013-12-24 19:09:28+00:00)
Title: adding thumbnail checks

in `wpsc_the_product_thumbnail`, a divide by zero error occurs when no thumbnail ID is found but the function continues along. this adds logic to bail after the 2nd `thumbnail_id` check if no ID is found, and also setting sizes to `absint`