// bug fix when a product has no default image

This commit is contained in:
lBrieu
2011-11-17 08:46:06 +00:00
parent d37c1929c0
commit 22cd141706
@@ -32,8 +32,8 @@
{/if}
{if ($product['product_quantity'] > $product['customizationQuantityTotal'])}
<tr{if ($product.image->id && isset($product.image_size))} height="{$product['image_size'][1] + 7}"{/if}>
<td align="center">{if $product.image->id}{$product.image_tag}{/if}</td>
<tr{if isset($product.image) && $product.image->id && isset($product.image_size)} height="{$product['image_size'][1] + 7}"{/if}>
<td align="center">{if isset($product.image) && $product.image->id}{$product.image_tag}{/if}</td>
<td><a href="index.php?tab=AdminCatalog&id_product={$product['product_id']}&updateproduct&token={getAdminToken tab='AdminCatalog'}">
<span class="productName">{$product['product_name']}</span><br />
{if $product.product_reference}{l s='Ref:'} {$product.product_reference}<br />{/if}