From 530b6dc5019f62b45d373d7b24ec88577082eefb Mon Sep 17 00:00:00 2001 From: gRoussac Date: Fri, 8 Nov 2013 15:00:56 +0100 Subject: [PATCH] // Productscomments remove warnings --- modules/productcomments/productcomments.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/productcomments/productcomments.tpl b/modules/productcomments/productcomments.tpl index 710b6665c..5e3c16fb3 100644 --- a/modules/productcomments/productcomments.tpl +++ b/modules/productcomments/productcomments.tpl @@ -98,6 +98,7 @@ var moderation_active = {$moderation_active};

{l s='Write your review' mod='productcomments'}

+ {if isset($product) && $product}
{$product->name|escape:html:'UTF-8'}
@@ -105,7 +106,7 @@ var moderation_active = {$moderation_active}; {$product->description_short}
- + {/if}

{l s='Write your review' mod='productcomments'}