[-] MO productcomments: confirmation message takes moderation mode into account
This commit is contained in:
@@ -755,7 +755,8 @@ class ProductComments extends Module
|
||||
'mediumSize' => Image::getSize(ImageType::getFormatedName('medium')),
|
||||
'nbComments' => (int)ProductComment::getCommentNumber((int)Tools::getValue('id_product')),
|
||||
'productcomments_controller_url' => $this->context->link->getModuleLink('productcomments'),
|
||||
'productcomments_url_rewriting_activated' => Configuration::get('PS_REWRITING_SETTINGS', 0)
|
||||
'productcomments_url_rewriting_activated' => Configuration::get('PS_REWRITING_SETTINGS', 0),
|
||||
'moderation_active' => (int)Configuration::get('PRODUCT_COMMENTS_MODERATE')
|
||||
));
|
||||
|
||||
$this->context->controller->pagination((int)ProductComment::getCommentNumber((int)Tools::getValue('id_product')));
|
||||
|
||||
Reference in New Issue
Block a user