From 947f9bb21ca54aee6f56d8b24ab93c1ff631e658 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Wed, 13 Nov 2013 16:39:33 +0100 Subject: [PATCH] // small isset in productcomments --- modules/productcomments/productcomments.tpl | 2 ++ themes/default/modules/productcomments/productcomments.tpl | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/productcomments/productcomments.tpl b/modules/productcomments/productcomments.tpl index 5e3c16fb3..4a49c07fb 100644 --- a/modules/productcomments/productcomments.tpl +++ b/modules/productcomments/productcomments.tpl @@ -93,6 +93,7 @@ var moderation_active = {$moderation_active}; +{if isset($product) && $product}
@@ -157,3 +158,4 @@ var moderation_active = {$moderation_active};
+{/if} \ No newline at end of file diff --git a/themes/default/modules/productcomments/productcomments.tpl b/themes/default/modules/productcomments/productcomments.tpl index 1333c967e..6560f5c5a 100644 --- a/themes/default/modules/productcomments/productcomments.tpl +++ b/themes/default/modules/productcomments/productcomments.tpl @@ -92,7 +92,7 @@ var moderation_active = {$moderation_active}; {/if} - +{if isset($product) && $product}
@@ -157,3 +157,4 @@ var moderation_active = {$moderation_active};
+{/if} \ No newline at end of file