[+] Project : default theme added
This commit is contained in:
@@ -705,6 +705,7 @@ class ProductComments extends Module
|
||||
|
||||
Context::getContext()->smarty->assign(array(
|
||||
'id_product_comment_form' => (int)Tools::getValue('id_product'),
|
||||
'product' => new Product(Tools::getValue('id_product'), false, Context::getContext()->language->id),
|
||||
'secure_key' => $this->secure_key,
|
||||
'logged' => (int)Context::getContext()->customer->isLogged(true),
|
||||
'allow_guests' => (int)Configuration::get('PRODUCT_COMMENTS_ALLOW_GUESTS'),
|
||||
@@ -760,8 +761,6 @@ class ProductComments extends Module
|
||||
'nbComments' => (int)ProductComment::getCommentNumber((int)Tools::getValue('id_product'))
|
||||
));
|
||||
|
||||
|
||||
|
||||
return ($this->display(__FILE__, '/productcomments.tpl'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user