From 22cd1417062428ee1ae61ce601870123c156dfac Mon Sep 17 00:00:00 2001 From: lBrieu Date: Thu, 17 Nov 2011 08:46:06 +0000 Subject: [PATCH] // bug fix when a product has no default image --- admin-dev/themes/template/orders/_product_line.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/template/orders/_product_line.tpl b/admin-dev/themes/template/orders/_product_line.tpl index 3d6416da5..1891a0e20 100755 --- a/admin-dev/themes/template/orders/_product_line.tpl +++ b/admin-dev/themes/template/orders/_product_line.tpl @@ -32,8 +32,8 @@ {/if} {if ($product['product_quantity'] > $product['customizationQuantityTotal'])} -id && isset($product.image_size))} height="{$product['image_size'][1] + 7}"{/if}> - {if $product.image->id}{$product.image_tag}{/if} +id && isset($product.image_size)} height="{$product['image_size'][1] + 7}"{/if}> + {if isset($product.image) && $product.image->id}{$product.image_tag}{/if} {$product['product_name']}
{if $product.product_reference}{l s='Ref:'} {$product.product_reference}
{/if}