// bug fix when a product has no default image

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10194 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lBrieu
2011-11-17 08:46:06 +00:00
parent d2e80e4fbf
commit 41b256f637
@@ -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}