git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10952 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
sThiebaut
2011-12-05 17:22:04 +00:00
parent 1a74889015
commit 5b1642b26e
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'),