Skip to content

Commit

Permalink
Fix saving valid order state id
Browse files Browse the repository at this point in the history
  • Loading branch information
cchalamon committed Aug 12, 2022
1 parent 2e591a0 commit 8ebc7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions everpsbookstore.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct()
{
$this->name = 'everpsbookstore';
$this->tab = 'others';
$this->version = '2.2.2';
$this->version = '2.2.3';
$this->author = 'Team Ever';
$this->need_instance = 0;
$this->bootstrap = true;
Expand Down Expand Up @@ -524,7 +524,7 @@ public function postValidation()
$this->postErrors[] = $this->l('Error : The field "Super customers" is not valid');
}
if (!Tools::getValue('EVERPSBOOKSTORE_VALIDATED_STATE_ID')
|| !Validate::isArrayWithIds(Tools::getValue('EVERPSBOOKSTORE_VALIDATED_STATE_ID'))
|| !Validate::isUnsignedInt(Tools::getValue('EVERPSBOOKSTORE_VALIDATED_STATE_ID'))
) {
$this->postErrors[] = $this->l('Error : The field "Validated states" is not valid');
}
Expand Down

0 comments on commit 8ebc7b4

Please sign in to comment.