This commit is contained in:
sThiebaut
2011-12-05 17:22:04 +00:00
parent f9bf395ba5
commit d1e09d2a6f
10 changed files with 52 additions and 48 deletions
@@ -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((int)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'),