Skip to content

Commit

Permalink
Update submit.php cast id_cart
Browse files Browse the repository at this point in the history
  • Loading branch information
clotairer authored Oct 14, 2024
1 parent eaf646d commit c619866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/front/submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function initContent()
$this->paypal = new PayPal();
$this->context = Context::getContext();
$this->id_module = (int) Tools::getValue('id_module');
$id_cart = Tools::getValue('id_cart');
$id_cart = (int) Tools::getValue('id_cart');
if ($id_cart == false) {
Tools::redirect($this->context->link->getPageLink('history'));
}
Expand Down

0 comments on commit c619866

Please sign in to comment.