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}
+{/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} +{/if} \ No newline at end of file