Skip to content

Commit

Permalink
Merge pull request #51 from okom3pom/fix-error-helper
Browse files Browse the repository at this point in the history
Fix Cannot access protected property HelperForm::$fields_form
  • Loading branch information
atomiix authored Jul 2, 2021
2 parents 4237f4c + 387c850 commit d21c992
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ps_mainmenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,6 @@ public function renderForm()
$lang = new Language((int) Configuration::get('PS_LANG_DEFAULT'));
$helper->default_form_language = $lang->id;
$helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
$helper->fields_form = [];
$helper->module = $this;
$helper->identifier = $this->identifier;
$helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false) .
Expand Down Expand Up @@ -1178,7 +1177,6 @@ public function renderAddForm()
$lang = new Language((int) Configuration::get('PS_LANG_DEFAULT'));
$helper->default_form_language = $lang->id;
$helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
$helper->fields_form = [];
$helper->identifier = $this->identifier;
$helper->fields_value = $this->getAddLinkFieldsValues();

Expand Down

0 comments on commit d21c992

Please sign in to comment.