From 41b256f6378991dcb2e6be99bce9c3b5fa06770a 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10194 b9a71923-0436-4b27-9f14-aed3839534dd --- 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}