Skip to content

Commit

Permalink
Merge pull request #267 from Xperos/patch-1
Browse files Browse the repository at this point in the history
Fix Break to Install due to productcomments.php
  • Loading branch information
emilien-puget committed Mar 9, 2014
2 parents f857d55 + c96684d commit cedfb3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions productcomments/productcomments.php
Expand Up @@ -41,7 +41,6 @@ class ProductComments extends Module
public function __construct()
{
$this->name = 'productcomments';
$this->table = 'product_comment';
$this->tab = 'front_office_features';
$this->version = '3.0';
$this->author = 'PrestaShop';
Expand Down Expand Up @@ -320,7 +319,7 @@ public function renderConfigForm()

$helper = new HelperForm();
$helper->show_toolbar = false;
$helper->table = $this->table;
$helper->table = $this->name;
$lang = new Language((int)Configuration::get('PS_LANG_DEFAULT'));
$helper->default_form_language = $lang->id;
$helper->module = $this;
Expand Down Expand Up @@ -654,7 +653,7 @@ function renderCriterionForm($id_criterion = 0)

$helper = new HelperForm();
$helper->show_toolbar = false;
$helper->table = $this->table;
$helper->table = $this->name;
$lang = new Language((int)Configuration::get('PS_LANG_DEFAULT'));
$helper->default_form_language = $lang->id;
$helper->module = $this;
Expand Down

0 comments on commit cedfb3b

Please sign in to comment.