From bb704d1550494b35b99356bfa29d8f294ea698c8 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 19 Jul 2012 09:27:21 +0000 Subject: [PATCH] [-] BO: Fix smarty error with customized datas on orders view when product have no image git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16485 b9a71923-0436-4b27-9f14-aed3839534dd --- .../default/template/controllers/orders/_customized_data.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl b/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl index 534704f38..744cb17a4 100755 --- a/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl +++ b/admin-dev/themes/default/template/controllers/orders/_customized_data.tpl @@ -26,7 +26,7 @@ {if $product.customizedDatas} - {if ($product.image->id)}{$product.image_tag}{else}'--'{/if} + {if isset($product.image) && $product.image->id}{$product.image_tag}{else}'--'{/if} {$product['product_name']} - {l s='customized'}